Skip to content

Commit

Permalink
enable all javac lints other than rawtypes and serial
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Sep 28, 2024
1 parent 6f8bb24 commit dc3cc68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ plugins {

allprojects {
tasks.withType<JavaCompile> {
val compilerArgs = options.compilerArgs
compilerArgs.add("-Xlint:unchecked")
compilerArgs.add("-Xlint:deprecation")
options.compilerArgs.addAll(listOf("-Xlint", "-Xlint:-rawtypes", "-Xlint:-serial"))
}
}

0 comments on commit dc3cc68

Please sign in to comment.