upload something
This commit is contained in:
17
javaplugin/build.gradle.kts
Normal file
17
javaplugin/build.gradle.kts
Normal file
@@ -0,0 +1,17 @@
|
||||
plugins {
|
||||
java
|
||||
idea
|
||||
id("firmament.common")
|
||||
}
|
||||
dependencies {
|
||||
implementation("net.fabricmc:stitch:0.6.2")
|
||||
}
|
||||
val compilerModules = listOf("util", "comp", "tree", "api", "code")
|
||||
.map { "jdk.compiler/com.sun.tools.javac.$it" }
|
||||
|
||||
tasks.withType(JavaCompile::class) {
|
||||
val module = "ALL-UNNAMED"
|
||||
options.compilerArgs.addAll(
|
||||
compilerModules.map { "--add-exports=$it=$module" }
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user