Add indigo support to custom block textures
This commit is contained in:
16
javaplugin/build.gradle.kts
Normal file
16
javaplugin/build.gradle.kts
Normal file
@@ -0,0 +1,16 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
dependencies {
|
||||
implementation("net.fabricmc:stitch:0.6.2")
|
||||
}
|
||||
tasks.withType(JavaCompile::class) {
|
||||
val module = "ALL-UNNAMED"
|
||||
options.compilerArgs.addAll(listOf(
|
||||
"--add-exports=jdk.compiler/com.sun.tools.javac.util=$module",
|
||||
"--add-exports=jdk.compiler/com.sun.tools.javac.comp=$module",
|
||||
"--add-exports=jdk.compiler/com.sun.tools.javac.tree=$module",
|
||||
"--add-exports=jdk.compiler/com.sun.tools.javac.api=$module",
|
||||
"--add-exports=jdk.compiler/com.sun.tools.javac.code=$module",
|
||||
))
|
||||
}
|
||||
Reference in New Issue
Block a user