Skip to content

Commit

Permalink
enable all javac lints other than serial
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Sep 28, 2024
1 parent 75083b3 commit 7875b21
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 @@ -5,8 +5,6 @@ plugins {

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

0 comments on commit 7875b21

Please sign in to comment.