-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.37 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
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
id 'org.beryx.jlink' version '2.14.0'
}
group 'ClassicAddonManager'
version '1.13'
sourceCompatibility = 12
repositories {
mavenCentral()
}
javafx {
version = "12.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
test {
useJUnitPlatform()
}
dependencies {
testImplementation(platform('org.junit:junit-bom:5.7.0'))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation group: 'org.hamcrest', name: 'hamcrest', version: '2.2'
compile 'net.sourceforge.htmlunit:htmlunit:2.48.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.7'
compile group: 'net.lingala.zip4j', name: 'zip4j', version: '1.2.4'
compile group: 'org.controlsfx', name: 'controlsfx', version: '11.0.0'
compile 'com.github.ben-manes.caffeine:caffeine:2.8.6'
compile 'com.google.api-client:google-api-client:1.31.2'
implementation group: 'org.controlsfx', name: 'controlsfx', version: '11.1.0'
}
jar {
manifest {
attributes 'Main-Class': 'com.CAM.Starter'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
jlink {
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'ClassicAddonManager'
}
}