Skip to content
Snippets Groups Projects
Commit bcf77200 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

adding -Xlint flag to javac compiler

parent 3edb7144
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,11 @@ dependencies { ...@@ -93,6 +93,11 @@ dependencies {
testCompile 'org.testng:testng:6+' testCompile 'org.testng:testng:6+'
} }
// Adding support for compiler warnings generation
tasks.withType(Compile) {
options.compilerArgs << '-Xlint'
}
asciidoctor { asciidoctor {
backend = 'html5' backend = 'html5'
sourceDir = file('doc') sourceDir = file('doc')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment