Skip to content

Commit 8948c23

Browse files
committed
chore: limit filter to prevent being called for other projects minify like baseline
1 parent 0c51792 commit 8948c23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vendor/gradle-app/app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,10 +1134,11 @@ tasks.configureEach({ DefaultTask currentTask ->
11341134
currentTask.dependsOn(buildMetadata)
11351135
}
11361136

1137-
// // ensure buildMetadata is done before R8 to allow custom proguard from metadata
1138-
if (currentTask =~ /minify.*WithR8/) {
1137+
// ensure buildMetadata is done before R8 to allow custom proguard from metadata
1138+
if (currentTask =~ /minify(Debug|Release)WithR8/) {
11391139
buildMetadata.finalizedBy(currentTask)
11401140
}
1141+
11411142
if (currentTask =~ /assemble.*Debug/ || currentTask =~ /assemble.*Release/) {
11421143
currentTask.finalizedBy("validateAppIdMatch")
11431144
}

0 commit comments

Comments
 (0)