mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-03-13 13:57:48 +08:00
Prevent our JavaCompile edits for Forge
This commit is contained in:
parent
6845e86fdf
commit
957af4962e
@ -36,7 +36,10 @@ fun Project.applyPlatformAndCoreConfiguration() {
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
tasks
|
||||
.withType<JavaCompile>()
|
||||
.matching { it.name == "compileJava" || it.name == "compileTestJava" }
|
||||
.configureEach {
|
||||
val disabledLint = listOf(
|
||||
"processing", "path", "fallthrough", "serial"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user