build: add -Xlint: flags

This commit is contained in:
Andras Slemmer 2016-06-20 12:01:42 +01:00
parent c9cb024bb5
commit 3faf268feb

View File

@ -10,6 +10,10 @@ apply plugin: QuasarPlugin
allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
buildscript {