Skip to content

Commit a541aa4

Browse files
committed
enable basic lint checks
1 parent 8ef591e commit a541aa4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ tasks.withType(AbstractArchiveTask) {
3636
reproducibleFileOrder = true
3737
}
3838

39+
tasks.withType(JavaCompile) {
40+
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
41+
}
42+
3943
build.dependsOn(copyJavaDeps)

0 commit comments

Comments
 (0)