Skip to content

Commit

Permalink
[AUTO] Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Oct 27, 2023
1 parent d77f42f commit b90da69
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 19 deletions.
1 change: 1 addition & 0 deletions .updater/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
56e7f9e6a139b4d01adf97a3f0670c945afd9b3e
2 changes: 2 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import java.util.regex.Pattern

dependencies {
compileOnly "com.github.Anuken.Arc:arc-core:$rootProject.arcVersion"
compileOnly "com.github.Anuken.$rootProject.mindustryDependencyType:core:$rootProject.mindustryVersion"
Expand Down
2 changes: 0 additions & 2 deletions annotations/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
dependencies {
implementation "com.github.Anuken.Arc:arc-core:$rootProject.arcVersion"
implementation "com.github.Anuken.$rootProject.mindustryDependencyType:core:$rootProject.mindustryVersion"

implementation 'com.squareup:javapoet:1.13.0'
}

tasks.withType(Jar) {
Expand Down
21 changes: 12 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,18 @@ subprojects.each { Project project ->
options.compilerArgs.addAll(['--release', '8'])
options.generatedSourceOutputDirectory.set(project.file("gen"))
options.forkOptions.jvmArgs.addAll([
'--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=jdk.compiler/com.sun.source.util=ALL-UNNAMED',
'--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED'
"--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=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED",
"--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
"--add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED"
])

targetCompatibility = 8
Expand Down
5 changes: 0 additions & 5 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ dependencies {
compileOnly "com.github.Anuken.Arc:arc-core:$rootProject.arcVersion"
compileOnly "com.github.Anuken.$rootProject.mindustryDependencyType:core:$rootProject.mindustryVersion"

implementation "com.github.liplum:MultiCrafterLib:v1.7"

compileOnly project(":annotations")
annotationProcessor project(":annotations")

compileOnly "com.github.Zelaux.ZelauxModCore:annotations:74a5591c36b"
annotationProcessor "com.github.Zelaux.ZelauxModCore:annotations:74a5591c36b"
}

ext {
Expand Down
3 changes: 0 additions & 3 deletions desktop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ dependencies {
compileOnly "com.github.Anuken.Arc:arc-core:$rootProject.arcVersion"
compileOnly "com.github.Anuken.$rootProject.mindustryDependencyType:core:$rootProject.mindustryVersion"

compileOnly "com.github.Anuken.Arc:backend-sdl:$rootProject.arcVersion"
compileOnly "com.github.Anuken.Arc:natives-desktop:$rootProject.arcVersion"

implementation project(":core")

compileOnly project(":annotations")
Expand Down
Binary file added sources.zip
Binary file not shown.

0 comments on commit b90da69

Please sign in to comment.