mirror of
https://github.com/ReVanced/revanced-patches-template.git
synced 2026-01-10 05:16:19 +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"
|
||||
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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user