Skip to content

Commit 6c1bd59

Browse files
committed
assembleDebug -> assembleRelease
Bug: 186569865 Test: ./gradlew buildOnServer -m | grep assembleDebug # and see there are only two matches: :lifecycle:lifecycle-viewmodel-savedstate:assembleDebug SKIPPED :navigation:navigation-common:assembleDebug SKIPPED Test: Treehugger runs busytown/*.sh Change-Id: I59ad7d18b30c684a951f341412c6f6ba6152ec4d
1 parent a80d510 commit 6c1bd59

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class AndroidXRootPlugin : Plugin<Project> {
112112
)
113113
)
114114
project.plugins.withType(AndroidBasePlugin::class.java) {
115-
buildOnServerTask.dependsOn("${project.path}:assembleDebug")
115+
buildOnServerTask.dependsOn("${project.path}:assembleRelease")
116116
if (!project.usingMaxDepVersions()) {
117117
project.afterEvaluate {
118118
project.agpVariants.all { variant ->

buildSrc/src/main/kotlin/androidx/build/uptodatedness/TaskUpToDateValidator.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ const val DISALLOW_TASK_EXECUTION_FLAG_NAME = "disallowExecution"
3737
const val RECORD_FLAG_NAME = VERIFY_UP_TO_DATE
3838

3939
// Temporary set of exempt tasks that are known to still be out-of-date after running once
40-
// Entries in this set may be task names (like assembleDebug) or task paths
41-
// (like :core:core:assembleDebug)
40+
// Entries in this set may be task names (like assembleRelease) or task paths
41+
// (like :core:core:assembleRelease)
4242
// Entries in this set do still get rerun because they might produce files that are needed by
4343
// subsequent tasks
4444
val ALLOW_RERUNNING_TASKS = setOf(

busytown/androidx_max_dep_versions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo "Starting $0 at $(date)"
55

66
cd "$(dirname $0)"
77

8-
impl/build.sh assembleDebug assembleAndroidTest \
8+
impl/build.sh assembleRelease assembleAndroidTest \
99
-Pandroidx.useMaxDepVersions \
1010
"$@"
1111

cleanBuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function usage() {
1717
echo
1818
echo "For example:"
1919
echo
20-
echo " $0 assembleDebug # or any other arguments you would normally give to ./gradlew"
20+
echo " $0 assembleRelease # or any other arguments you would normally give to ./gradlew"
2121
echo
2222
echo
2323
echo "-y"

development/diagnose-build-failure/diagnose-build-failure.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function usage() {
1919
echo " Replaces the requirement for "'`'"./gradlew <tasks>"'`'" to fail with the requirement that it produces the given message"
2020
echo
2121
echo "SAMPLE USAGE"
22-
echo " $0 assembleDebug # or any other arguments you would normally give to ./gradlew"
22+
echo " $0 assembleRelease # or any other arguments you would normally give to ./gradlew"
2323
echo
2424
echo "OUTPUT"
2525
echo " diagnose-build-failure will conclude one of the following:"

0 commit comments

Comments
 (0)