File tree 5 files changed +6
-6
lines changed
buildSrc/src/main/kotlin/androidx/build
development/diagnose-build-failure
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class AndroidXRootPlugin : Plugin<Project> {
112
112
)
113
113
)
114
114
project.plugins.withType(AndroidBasePlugin ::class .java) {
115
- buildOnServerTask.dependsOn(" ${project.path} :assembleDebug " )
115
+ buildOnServerTask.dependsOn(" ${project.path} :assembleRelease " )
116
116
if (! project.usingMaxDepVersions()) {
117
117
project.afterEvaluate {
118
118
project.agpVariants.all { variant ->
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ const val DISALLOW_TASK_EXECUTION_FLAG_NAME = "disallowExecution"
37
37
const val RECORD_FLAG_NAME = VERIFY_UP_TO_DATE
38
38
39
39
// 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 )
42
42
// Entries in this set do still get rerun because they might produce files that are needed by
43
43
// subsequent tasks
44
44
val ALLOW_RERUNNING_TASKS = setOf (
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ echo "Starting $0 at $(date)"
5
5
6
6
cd " $( dirname $0 ) "
7
7
8
- impl/build.sh assembleDebug assembleAndroidTest \
8
+ impl/build.sh assembleRelease assembleAndroidTest \
9
9
-Pandroidx.useMaxDepVersions \
10
10
" $@ "
11
11
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function usage() {
17
17
echo
18
18
echo " For example:"
19
19
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"
21
21
echo
22
22
echo
23
23
echo " -y"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function usage() {
19
19
echo " Replaces the requirement for " ' `' " ./gradlew <tasks>" ' `' " to fail with the requirement that it produces the given message"
20
20
echo
21
21
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"
23
23
echo
24
24
echo " OUTPUT"
25
25
echo " diagnose-build-failure will conclude one of the following:"
You can’t perform that action at this time.
0 commit comments