mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 10:05:23 +00:00
fix: AGP 8.3.X
This commit is contained in:
parent
9a008c17ba
commit
7abe635de9
@ -385,7 +385,7 @@ fun Project.setupStub() {
|
|||||||
val apk = layout.buildDirectory.file("intermediates/processed_res/" +
|
val apk = layout.buildDirectory.file("intermediates/processed_res/" +
|
||||||
"release/processReleaseResources/out/resources-release.ap_").get().asFile
|
"release/processReleaseResources/out/resources-release.ap_").get().asFile
|
||||||
val optRes = layout.buildDirectory.file("intermediates/optimized_processed_res/" +
|
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 {
|
afterEvaluate {
|
||||||
tasks.named("optimizeReleaseResources") {
|
tasks.named("optimizeReleaseResources") {
|
||||||
doLast { apk.copyTo(optRes, true) }
|
doLast { apk.copyTo(optRes, true) }
|
||||||
|
Loading…
Reference in New Issue
Block a user