fix: broken gradle task

This commit is contained in:
Lucaskyy 2022-06-16 13:27:45 +02:00
parent a234c6c2da
commit 4d07961c8a
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89

View File

@ -29,7 +29,7 @@ tasks {
doLast {
val androidHome = System.getenv("ANDROID_HOME") ?: throw GradleException("ANDROID_HOME not found")
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 work = File("${buildDir}/libs")