-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (44 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 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
id 'org.beryx.runtime' version '1.8.0'
}
group 'br.ufop.tomaz'
version '1.0-SNAPSHOT'
project.version = "1.0.2"
sourceCompatibility = 11
targetCompatibility = 11
javafx {
version = "12"
modules = ['javafx.controls', 'javafx.fxml', 'javafx.media']
}
application{
mainClassName = "br.ufop.tomaz.Launcher"
applicationName = "Node Project Creator"
}
runtime {
//javaHome = 'C:/Program Files/OpenJDK/openjdk-11.0.5_10'
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
jpackage {
//jpackageHome = 'C:/Program Files/OpenJDK/openjdk-14.0.0/jdk-14'
imageName = 'Node Project Creator'
imageOptions += ['--icon', 'src/main/resources/br/ufop/tomaz/icons/logo-small.ico']
installerType = 'msi'
installerName = "Node Project Creator"
installerOptions = [
'--win-menu',
'--win-shortcut',
'--win-per-user-install',
'--win-dir-chooser'
]
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
}