Skip to content

Commit

Permalink
Add compiler arguments for compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Dec 3, 2019
1 parent c6a99f1 commit d2e728a
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 d2e728a

Please sign in to comment.