mirror of
https://github.com/corda/corda.git
synced 2025-06-05 09:00:53 +00:00
build: add -Xlint: flags
This commit is contained in:
parent
c9cb024bb5
commit
3faf268feb
@ -10,6 +10,10 @@ apply plugin: QuasarPlugin
|
|||||||
allprojects {
|
allprojects {
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user