-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (33 loc) · 822 Bytes
/
build.gradle
File metadata and controls
40 lines (33 loc) · 822 Bytes
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
//version: 1707058017
plugins {
id 'com.gtnewhorizons.gtnhconvention'
}
minecraft {
extraRunJvmArguments.add("-Xmx8G")
extraRunJvmArguments.add("-Xms8G")
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
}
tasks.withType(JavaCompile) {
options.annotationProcessorPath = configurations.annotationProcessor
}
tasks.named("runClient", JavaExec) {
workingDir = file("${projectDir}/run/client")
doFirst {
workingDir.mkdirs()
}
}
tasks.named("runClient17", JavaExec) {
workingDir = file("${projectDir}/run/client17")
doFirst {
workingDir.mkdirs()
}
}
tasks.named("runServer", JavaExec) {
workingDir = file("${projectDir}/run/server")
doFirst {
workingDir.mkdirs()
}
}