unify lint options for all modules
This commit is contained in:
parent
e9c10cdaa8
commit
0663e422a6
|
@ -214,10 +214,3 @@ task copyTextFiles(type: Copy) {
|
|||
|
||||
preBuild.dependsOn filterAbout, copyTextFiles
|
||||
|
||||
allprojects {
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,12 @@ allprojects {
|
|||
jcenter()
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Disable predex if requested (we can"t predex in Circle CI
|
||||
|
|
|
@ -93,11 +93,3 @@ tasks.withType(Test) {
|
|||
displayGranularity 2
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue