Fix mixin annotation processor issues

These issues were caused by CompilationConfig.configureCompilation()
overwriting JavaCompile's options.compilerArgs list which removed any
previously added arguments, including those added by fabric-loom and
mixingradle.
This commit is contained in:
DJtheRedstoner 2021-05-02 18:17:18 -04:00
parent eee54f507e
commit 19edcbddd5
No known key found for this signature in database
GPG Key ID: C42585DC4C6D0084

View File

@ -19,7 +19,7 @@ fun Project.configureCompilation() {
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
doFirst {
options.compilerArgs = mutableListOf("-Xlint:all")
options.compilerArgs.add("-Xlint:all")
}
}