summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/build.gradle7
-rw-r--r--build.gradle6
-rw-r--r--core/build.gradle8
3 files changed, 6 insertions, 15 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 12ed8e0e8..2436a578e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -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"
- }
- }
-}
diff --git a/build.gradle b/build.gradle
index f2c287089..664cecbd9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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
diff --git a/core/build.gradle b/core/build.gradle
index dcce2c021..c68b666d0 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -93,11 +93,3 @@ tasks.withType(Test) {
displayGranularity 2
}
}
-
-allprojects {
- gradle.projectsEvaluated {
- tasks.withType(JavaCompile) {
- options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
- }
- }
-}