Skip to content

Commit 119609e

Browse files
committed
Add threating warnings as errors and linter
1 parent d6bfd13 commit 119609e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dts-generator/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ repositories {
55
jcenter()
66
}
77

8+
allprojects {
9+
gradle.projectsEvaluated {
10+
tasks.withType(JavaCompile) {
11+
options.compilerArgs << "-Xlint:all" << "-Werror"
12+
}
13+
}
14+
}
15+
816
dependencies {
917
compile 'org.apache.bcel:bcel:6.2'
1018
compile 'commons-io:commons-io:2.6'

0 commit comments

Comments
 (0)