Skip to content

Commit

Permalink
Enable -Werror for main and test code. (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcipriano committed Nov 15, 2020
1 parent 71a70e6 commit 068d0e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cuebot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ dependencies {
testCompile group: 'org.flywaydb', name: 'flyway-core', version: '5.2.0'
}

compileJava {
options.compilerArgs << "-Xlint:all" << "-Werror"
}

compileTestJava {
options.compilerArgs << "-Xlint:all" << "-Werror"
}

protobuf {
protoc {
// The protoc compiler
Expand Down

0 comments on commit 068d0e3

Please sign in to comment.