Skip to content

Commit

Permalink
Add -Werror option
Browse files Browse the repository at this point in the history
  • Loading branch information
dai0304 committed Feb 3, 2017
1 parent e513c84 commit 4bd2c98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ apply plugin: "com.diffplug.gradle.spotless"

// compiler
compileJava {
options.compilerArgs << "-Werror"
options.compilerArgs << "-Xlint:all" << "-Xlint:-processing" << "-Xlint:-deprecation"
}

Expand Down

0 comments on commit 4bd2c98

Please sign in to comment.