-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (44 loc) · 1.28 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
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
id 'org.beryx.jlink' version '2.10.0'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
javafx {
version = '13'
modules = ['javafx.controls', 'javafx.fxml', 'javafx.graphics', 'javafx.base']
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.4.2'
compile group: 'org.fxmisc.richtext', name: 'richtextfx', version: '0.10.5'
compile files('/home/africanbongo/IdeaProjects/Self/Projects/Libraries/SceneController/build/libs/SceneController-0.1.0.jar')
compile files('/home/africanbongo/IdeaProjects/Self/Projects/Libraries/DisplayMessages/build/libs/DisplayMessages-0.1.0.jar')
}
sourceSets.main {
java {
srcDir 'src/main/java'
}
resources {
srcDirs = ['src/main/java', 'src/main/resources']
exclude "**/*.java"
}
}
test {
useJUnitPlatform()
}
jlink {
imageZip = file("$buildDir/image-zip/wordtribe.zip")
options = ['--bind-services', '--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
mergedModule {
requires "java.xml"
}
launcher {
name = 'Word Tribe'
}
addExtraDependencies("javafx")
}
mainClassName = "com.wordtribe.AppStart"