Skip to content

Commit dd0a184

Browse files
committed
add -Werror to gradle
1 parent 178b340 commit dd0a184

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ repositories {
1313
}
1414
}
1515

16+
afterEvaluate {
17+
tasks.withType(JavaCompile) {
18+
options.compilerArgs << "-Werror"
19+
}
20+
}
21+
1622
dependencies {
1723
compile 'org.slf4j:slf4j-api:1.7.13'
1824
compile 'com.fasterxml.jackson.core:jackson-core:2.9.10'

0 commit comments

Comments
 (0)