mirror of
https://github.com/revanced/Apktool.git
synced 2025-04-29 21:54:25 +02:00
fix: allow maven to publish without implicit task ordering (#3693)
This commit is contained in:
parent
1d6e328de0
commit
6d1017eadf
@ -25,6 +25,8 @@ tasks.withType<AbstractArchiveTask>().configureEach {
|
||||
|
||||
tasks.register<Delete>("cleanOutputDirectory") {
|
||||
delete(fileTree("build/libs") {
|
||||
exclude("apktool-cli-sources.jar")
|
||||
exclude("apktool-cli-javadoc.jar")
|
||||
exclude("apktool-cli-all.jar")
|
||||
})
|
||||
}
|
||||
@ -74,3 +76,15 @@ tasks.register<JavaExec>("proguard") {
|
||||
originalJar.toString()
|
||||
)
|
||||
}
|
||||
|
||||
tasks.withType<org.gradle.api.publish.maven.tasks.PublishToMavenRepository> {
|
||||
dependsOn(tasks.named("shadowJar"))
|
||||
}
|
||||
|
||||
tasks.withType<org.gradle.plugins.signing.Sign> {
|
||||
dependsOn(tasks.named("shadowJar"))
|
||||
}
|
||||
|
||||
tasks.withType<org.gradle.api.publish.tasks.GenerateModuleMetadata> {
|
||||
dependsOn(tasks.named("shadowJar"))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user