mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-02 23:22:57 +01:00
build: use supported API to get working directory (#2976)
This commit is contained in:
parent
910b0323f8
commit
f6ac4daa81
@ -50,7 +50,7 @@ tasks {
|
||||
val androidHome = System.getenv("ANDROID_HOME") ?: throw GradleException("ANDROID_HOME not found")
|
||||
val d8 = "${androidHome}/build-tools/33.0.1/d8"
|
||||
val input = configurations.archives.get().allArtifacts.files.files.first().absolutePath
|
||||
val work = File("${buildDir}/libs")
|
||||
val work = layout.buildDirectory.dir("libs").get().asFile
|
||||
|
||||
exec {
|
||||
workingDir = work
|
||||
|
Loading…
Reference in New Issue
Block a user