-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
60 lines (51 loc) · 1.72 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.21'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.7'
id "com.github.johnrengelman.shadow" version "5.0.0"
id 'java'
id "edu.sc.seis.launch4j" version "2.4.5"
id "edu.sc.seis.macAppBundle" version "2.3.0"
}
group 'org.idiosapps'
version '1.3'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.15'
compile group: 'com.jfoenix', name: 'jfoenix', version: '9.0.8'
// cross-platform jar: https://github.com/openjfx/samples/blob/master/CommandLine/Non-modular/Gradle/hellofx/build.gradle
// enable these when doing Gradle's shadowDistZip
// for cross-OS compatibility
// compile "org.openjfx:javafx-graphics:12.0.1:win"
// compile "org.openjfx:javafx-graphics:12.0.1:linux"
// compile "org.openjfx:javafx-graphics:12.0.1:mac"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
javafx {
version = "12"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
application {
mainClassName = 'org.idiosapps.Main'
applicationName = 'gradedReaderBuilder'
}
launch4j {
outfile = 'gradedReaderBuilder.exe'
mainClassName = 'org.idiosapps.Main'
copyConfigurable = project.tasks.shadowJar.outputs.files
jar = "lib/${project.tasks.shadowJar.archiveName}"
jreMinVersion = "12.0.1"
messagesJreVersionError = "Please install JDK12 from https://adoptopenjdk.net/releases.html?variant=openjdk12"
// https://github.com/TheBoegl/gradle-launch4j for more options!
}
macAppBundle {
mainClassName = 'org.idiosapps.Main'
}