Skip to content

Commit aa64544

Browse files
committed
enable all javac lints other than cast, rawtypes and serial
1 parent 0cd5872 commit aa64544

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.gradle.kts

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ plugins {
55

66
allprojects {
77
tasks.withType<JavaCompile> {
8-
val compilerArgs = options.compilerArgs
9-
compilerArgs.add("-Xlint:unchecked")
10-
compilerArgs.add("-Xlint:deprecation")
8+
options.compilerArgs.addAll(listOf("-Xlint", "-Xlint:-cast", "-Xlint:-rawtypes", "-Xlint:-serial"))
119
}
1210
}

0 commit comments

Comments
 (0)