Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @kwilliams3

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
# modifies JS files, only @js-owner and not the global
# owner(s) will be requested for a review.

# You can also use email addresses if you prefer. They'll be
# used to look up users just like we do for commit author
# emails.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,5 @@ atlassian-ide-plugin.xml
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
fabric.properties
build/
20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/modules.xml

This file was deleted.

54 changes: 51 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
group 'recordian'
version '1.0-SNAPSHOT'

plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
id 'org.beryx.jlink' version '2.12.0'
}
javafx {
version = '14'
modules = [
'javafx.controls',
'javafx.fxml',
'javafx.swing',
'javafx.graphics',
'javafx.base',
'javafx.controls'
]
}
apply plugin: 'org.openjfx.javafxplugin'
apply plugin: 'java'
apply plugin: 'idea'

sourceCompatibility = 1.8
mainClassName = 'Main'
group 'recordian'
version '1.0-SNAPSHOT'

compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
repositories {
mavenCentral()
}
Expand All @@ -19,4 +40,31 @@ dependencies {
testImplementation 'org.mockito:mockito-core:2.15.0'
testImplementation 'org.powermock:powermock-module-junit4:1.7.1'
testImplementation 'org.powermock:powermock-api-mockito2:1.7.1'
}


jar {
manifest {
attributes 'Main-Class': mainClassName
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
jlink {
mergedModule {
requires 'java.xml.crypto';
requires 'javafx.graphics';
requires 'javafx.controls';
requires 'java.logging';
requires 'java.sql';
requires 'java.xml';
requires 'java.desktop';
requires 'javafx.base';
provides 'java.sql.Driver' with 'org.sqlite.JDBC';
}
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = mainClassName
}
}
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
172 changes: 172 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.