-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.26 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
flatDir {
dirs "lib"
}
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
implementation group: 'org.ow2.asm', name: 'asm', version: '9.2'
implementation group: 'org.ow2.asm', name: 'asm-tree', version: '9.2'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.7'
compileOnly name: 'zombie'
compileOnly name: 'lwjgl'
compileOnly name: 'lwjgl_util'
compileOnly name: 'lwjgl-opengl'
compileOnly name: 'lwjgl-glfw'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
}
test {
useJUnitPlatform()
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveBaseName = 'ProjectZomboid'
archiveVersion = '0.0.0'
manifest {
attributes(
'Main-Class': 'dev.zomboid.ToolEp'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}