-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
98 lines (78 loc) · 3.63 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
plugins {
id 'java'
id 'application'
id 'eclipse'
id 'org.openjfx.javafxplugin' version '0.0.9'
id 'org.owasp.dependencycheck' version '6.1.1'
id 'com.github.ben-manes.versions' version '0.36.0'
}
group 'com.github.shaigem'
version '0.1'
sourceCompatibility = 11
targetCompatibility = 11
mainClassName = "com.github.shaigem.linkgem.LinkGemApplicationUberJarStarterMain"
task uberJar(type: Jar) {
archiveClassifier = 'uber'
manifest {
attributes (
"Main-Class": "$mainClassName",
"SplashScreen-Image": "images/splash.gif"
)
}
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}
repositories {
mavenCentral()
}
javafx {
version = "16-ea+7"
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.web']
}
//org.gradle.jvmargs="--add-opens=javafx.controls/javafx.scene.control.skin=org.controlsfx.controls"
//jvmargs="--add-opens=javafx.controls/javafx.scene.control.skin=org.controlsfx.controls"
application {
//applicationDefaultJvmArgs = ['-Xmx512m', '-XX:MaxPermSize=512m', '-Dinm.testmode=true', '-Dfile.encoding=UTF-8', '-Xdebug','-Xrunjdwp:transport=dt_socket,server=y,address=7979,suspend=n']
applicationDefaultJvmArgs = [
// "--add-opens=javafx.controls/javafx.scene.control.skin=org.controlsfx.controls",
// "--add-opens=javafx.base/com.sun.javafx.runtime=org.controlsfx.controls",
// "--add-opens=javafx.base/com.sun.javafx.collections=org.controlsfx.controls",
// "--add-opens=javafx.graphics/com.sun.javafx.css=org.controlsfx.controls",
// "--add-opens=javafx.graphics/com.sun.javafx.scene=org.controlsfx.controls",
// "--add-opens=javafx.graphics/com.sun.javafx.scene.traversal=org.controlsfx.controls",
// "--add-opens=javafx.graphics/javafx.scene=org.controlsfx.controls",
// "--add-opens=javafx.controls/com.sun.javafx.scene.control=org.controlsfx.controls",
// "--add-opens=javafx.controls/com.sun.javafx.scene.control.behavior=org.controlsfx.controls",
// "--add-opens=javafx.controls/javafx.scene.control.skin=org.controlsfx.controls",
"--add-opens=javafx.controls/javafx.scene.control=ALL-UNNAMED",
"--add-opens=javafx.graphics/com.sun.javafx.css=ALL-UNNAMED",
"--add-opens=javafx.base/com.sun.javafx.event=ALL-UNNAMED",
"-Dfile.encoding=UTF-8"
]
}
ext {
afterburnerFxVersion = '1.7.0'
eventStudioVersion = '1.0.6'
controlsFxVersion = '11.0.3'
fontAwesomeFxVersion = '8.9'
caffeineVersion = '2.8.2'
image4jVersion = '0.7'
gsonVersion = '2.8.6'
javaxAnnotationVersion = '1.3.2'
}
dependencies {
implementation group: 'com.airhacks', name: 'afterburner.fx', version: afterburnerFxVersion
implementation group: 'org.sejda', name: 'eventstudio', version: eventStudioVersion
implementation group: 'org.controlsfx', name: 'controlsfx', version: controlsFxVersion
implementation group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: caffeineVersion
implementation group: 'de.jensd', name: 'fontawesomefx', version: fontAwesomeFxVersion
implementation group: 'org.jclarion', name: 'image4j', version: image4jVersion
implementation group: 'com.google.code.gson', name: 'gson', version: gsonVersion
implementation group: 'javax.annotation', name: 'javax.annotation-api', version: javaxAnnotationVersion
// implementation 'org.slf4j:slf4j-api:1.7.21'
//implementation 'ch.qos.logback:logback-classic:1.1.7'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}