fix: AGP 8.3.X

This commit is contained in:
Js0n 2024-03-21 14:10:28 +08:00 committed by John Wu
parent 9a008c17ba
commit 7abe635de9

View File

@ -385,7 +385,7 @@ fun Project.setupStub() {
val apk = layout.buildDirectory.file("intermediates/processed_res/" +
"release/processReleaseResources/out/resources-release.ap_").get().asFile
val optRes = layout.buildDirectory.file("intermediates/optimized_processed_res/" +
"release/processReleaseResources/resources-release-optimize.ap_").get().asFile
"release/optimizeReleaseResources/resources-release-optimize.ap_").get().asFile
afterEvaluate {
tasks.named("optimizeReleaseResources") {
doLast { apk.copyTo(optRes, true) }