-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (34 loc) · 961 Bytes
/
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
plugins {
id 'java'
id 'application'
id 'edu.sc.seis.launch4j' version '2.4.9'
}
group 'com.amulet_editor'
version '7.1'
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.jcabi', name: 'jcabi-github', version: '0.41'
compile group: 'net.lingala.zip4j', name: 'zip4j', version: '2.6.4'
compile group: 'com.danielflower.apprunner', name: 'javasysmon', version: '0.3.5.0'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
manifest {
attributes 'Main-Class': 'com.amulet_editor.amulet_updater.Main'
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
application {
mainClassName = 'com.amulet_editor.amulet_updater.Main'
}
launch4j {
mainClassName = 'com.amulet_editor.amulet_updater.Main'
bundledJrePath = 'openjdk-14.0.2'
}