Don't spam compiler warnings

This commit is contained in:
KennyTV 2021-02-18 11:38:50 +01:00
parent c059e57771
commit c719b98ab3
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -24,6 +24,9 @@ subprojects {
expand("version" to project.version, "description" to project.description) expand("version" to project.version, "description" to project.description)
} }
} }
withType<JavaCompile> {
options.compilerArgs.addAll(listOf("-nowarn", "-Xlint:-unchecked", "-Xlint:-deprecation"))
}
} }
val platforms = listOf( val platforms = listOf(