mirror of
https://github.com/ReVanced/revanced-patches-template.git
synced 2026-01-10 21:36:18 +00:00
build: Fix builds
This commit is contained in:
@@ -51,6 +51,8 @@ tasks {
|
|||||||
description = "Build and add a DEX to the JAR file"
|
description = "Build and add a DEX to the JAR file"
|
||||||
group = "build"
|
group = "build"
|
||||||
|
|
||||||
|
dependsOn(build)
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
val d8 = File(System.getenv("ANDROID_HOME")).resolve("build-tools")
|
val d8 = File(System.getenv("ANDROID_HOME")).resolve("build-tools")
|
||||||
.listFilesOrdered().last().resolve("d8").absolutePath
|
.listFilesOrdered().last().resolve("d8").absolutePath
|
||||||
@@ -73,7 +75,6 @@ tasks {
|
|||||||
// Needed by gradle-semantic-release-plugin.
|
// Needed by gradle-semantic-release-plugin.
|
||||||
// Tracking: https://github.com/KengoTODA/gradle-semantic-release-plugin/issues/435
|
// Tracking: https://github.com/KengoTODA/gradle-semantic-release-plugin/issues/435
|
||||||
publish {
|
publish {
|
||||||
dependsOn(build)
|
|
||||||
dependsOn("buildDexJar")
|
dependsOn("buildDexJar")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user