-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (39 loc) · 1.05 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
plugins {
id 'org.openjfx.javafxplugin' version '0.0.12'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'application'
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
dependencies {
implementation(
[group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.4.1'],
[group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.4.1'],
[group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.4.1'],
[group: 'commons-cli', name: 'commons-cli', version: '1.4'],
[group: 'org.openjfx', name: 'javafx-base', version: '12'],
)
testImplementation "junit:junit:4.12"
testImplementation "org.mockito:mockito-core:2.+"
}
javafx {
version = '12'
modules = [ 'javafx.base' ]
}
ext {
javaMainClass = 'dss.lingvo.Main'
}
application {
mainClassName = javaMainClass
}
shadowJar {
manifest {
attributes 'Main-Class': javaMainClass
}
}