-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
40 lines (38 loc) · 1.85 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
apply plugin: "java-library"
sourceSets.main.java.srcDirs = ["src/main/java/","mindustrySrc/","annotations/build/generated/sources/annotationProcessor/java/main"]
sourceSets.main.resources.srcDirs = ["src/main/resources/"]
//tasks.withType(JavaCompile){
// targetCompatibility = 8
// sourceCompatibility = JavaVersion.VERSION_16
// options.encoding = "UTF-8"
// options.compilerArgs += ["-Xlint:deprecation"]
// options.compilerArgs.addAll(['--release', '8'])
//
// options.forkOptions.jvmArgs += [
// '--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED',
// '--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED',
// '--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED',
// '--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED',
// '--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED',
// '--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED',
// '--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED',
// '--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED'
// ]
//}
mindustryModCore{
setupAnnotationProject()
}
dependencies{
implementation 'commons-io:commons-io:2.5'
implementation 'com.squareup:javapoet:1.12.1'
implementation arcModule('arc-core')
implementation mindustryModule("core")
implementation "com.github.javaparser:javaparser-symbol-solver-core:$jparcerVersion"
compileOnly project(":annotations:localAnnotations")
annotationProcessor project(":annotations:localAnnotations")
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
compileOnly("org.jetbrains:annotations:24.0.1")
implementation 'org.reflections:reflections:0.10.2'
// annotationProcessor 'com.github.Anuken:jabel:0.9.0'
}