From 4d07961c8afd24da7f8879d11419147f2e100f05 Mon Sep 17 00:00:00 2001 From: Lucaskyy Date: Thu, 16 Jun 2022 13:27:45 +0200 Subject: [PATCH] fix: broken gradle task --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c0b48c902..c1bd9e68e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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")