From 6b7bbff623ea396f8b6a1e7dddfef74febc33ced Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 21 Feb 2024 02:05:37 +0100 Subject: [PATCH] build: Fix builds --- build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 01648e8a1..a21375374 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -51,6 +51,8 @@ tasks { description = "Build and add a DEX to the JAR file" group = "build" + dependsOn(build) + doLast { val d8 = File(System.getenv("ANDROID_HOME")).resolve("build-tools") .listFilesOrdered().last().resolve("d8").absolutePath @@ -73,7 +75,6 @@ tasks { // Needed by gradle-semantic-release-plugin. // Tracking: https://github.com/KengoTODA/gradle-semantic-release-plugin/issues/435 publish { - dependsOn(build) dependsOn("buildDexJar") } }