Skip to content

Commit 252baf0

Browse files
author
elbuo8
committed
Xlint enabled
1 parent d2bccb2 commit 252baf0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ repositories {
5252
mavenCentral()
5353
}
5454

55+
allprojects {
56+
gradle.projectsEvaluated {
57+
tasks.withType(JavaCompile) {
58+
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
59+
}
60+
}
61+
}
62+
5563
// adds 'with-dependencies' to the fatJar name
5664
fatJar {
5765
classifier 'jar'

0 commit comments

Comments
 (0)