Skip to content

Commit

Permalink
Add compiler arguments for compile warnings (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and shakuzen committed Dec 3, 2019
1 parent c6a99f1 commit 18831df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Expand Up @@ -52,7 +52,9 @@ subprojects {
}

compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
compileTestJava.options.encoding = 'UTF-8'
compileTestJava.options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'

if(!project.name.contains('samples') && !project.name.contains('benchmarks')) {
apply plugin: 'io.spring.publishing'
Expand Down

0 comments on commit 18831df

Please sign in to comment.