Bug 1509572 - Part 5: Depend on bundle, not assemble. r=snorp
authorNick Alexander <nalexander@mozilla.com>
Mon, 26 Nov 2018 21:43:41 +0000
changeset 507351 d8102b5a209ab02d281b87e351a568be934c7ee6
parent 507350 851fd4b655df0e1e3cadc98b6930d6b8c7500f4a
child 507352 8d0de38dc4c80f1382ec80ae8ecb2f0788837be0
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1509572
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1509572 - Part 5: Depend on bundle, not assemble. r=snorp This will be exploited later, when we start making the `withGeckoBinaries` switch conditional on the tasks that Gradle is going to execute. Differential Revision: https://phabricator.services.mozilla.com/D12794
mobile/android/app/build.gradle
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -406,17 +406,17 @@ android.applicationVariants.all { varian
         reportLevel = "high"   // For now we only care about high priority bugs. After we have fixed
                                // the issues with medium/low priority we can lower the report level here.
 
         classes = files("$project.buildDir/intermediates/classes")
         source = variant.javaCompile.source
         classpath = variant.javaCompile.classpath
 
         excludeFilter = file("findbugs-exclude.xml")
-        dependsOn "assemble${variant.name.capitalize()}"
+        dependsOn "bundleAppClasses${variant.name.capitalize()}"
 
         reports {
             html.enabled = true // HTML reports for humans.
             html.destination = file("$project.buildDir/reports/findbugs/findbugs-${variant.name}-output.html")
             xml.enabled = false
         }
     }
 
@@ -430,17 +430,17 @@ android.applicationVariants.all { varian
         reportLevel = "high"   // For now we only care about high priority bugs. After we have fixed
                                // the issues with medium/low priority we can lower the report level here.
         
         classes = files("$project.buildDir/intermediates/classes")
         source = variant.javaCompile.source
         classpath = variant.javaCompile.classpath
 
         excludeFilter = file("findbugs-exclude.xml")
-        dependsOn "assemble${variant.name.capitalize()}"
+        dependsOn "bundleAppClasses${variant.name.capitalize()}"
 
         reports {
             xml.enabled = true // XML reports for machines.
             xml.destination = file("$project.buildDir/reports/findbugs/findbugs-${variant.name}-output.xml")
             html.enabled = false
         }
     }
 }