mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-29 09:35:49 +01:00
fix: broken gradle task
This commit is contained in:
parent
a234c6c2da
commit
4d07961c8a
@ -29,7 +29,7 @@ tasks {
|
|||||||
doLast {
|
doLast {
|
||||||
val androidHome = System.getenv("ANDROID_HOME") ?: throw GradleException("ANDROID_HOME not found")
|
val androidHome = System.getenv("ANDROID_HOME") ?: throw GradleException("ANDROID_HOME not found")
|
||||||
val d8 = "${androidHome}/build-tools/32.0.0/d8"
|
val d8 = "${androidHome}/build-tools/32.0.0/d8"
|
||||||
val input = build.get().outputs.files.singleFile.absolutePath
|
val input = configurations.archives.get().allArtifacts.files.files.first().absolutePath
|
||||||
val output = input.replace(".jar", ".dex")
|
val output = input.replace(".jar", ".dex")
|
||||||
val work = File("${buildDir}/libs")
|
val work = File("${buildDir}/libs")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user