Skip to content

Commit

Permalink
build: use supported API to get working directory (ReVanced#2976)
Browse files Browse the repository at this point in the history
  • Loading branch information
xehpuk authored Sep 11, 2023
1 parent 910b032 commit f6ac4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6ac4da

Please sign in to comment.