project(gradle): Fix warnings and deprecations

This commit is contained in:
Owain van Brakel
2022-05-30 01:27:11 +02:00
parent 5c7302fd5a
commit 46b6def0df
9 changed files with 38 additions and 64 deletions

View File

@@ -40,6 +40,7 @@ tasks {
targetCompatibility = JavaVersion.VERSION_1_8
disableAutoTargetJvm()
}
withType<JavaCompile> {
options.compilerArgs.addAll(arrayOf("-Xlint:-unchecked"))
}