fix: allow maven to publish without implicit task ordering (#3693)
Some checks failed
CI / analyze-mac-aapt (aapt2_64) (push) Waiting to run
CI / analyze-mac-aapt (aapt_64) (push) Waiting to run
CI / analyze-windows-aapt (aapt.exe) (push) Waiting to run
CI / analyze-windows-aapt (aapt2.exe) (push) Waiting to run
Analyze / Analyze (push) Failing after 0s
CI / analyze-linux-aapt (aapt) (push) Failing after 0s
CI / analyze-linux-aapt (aapt2) (push) Failing after 0s
CI / analyze-linux-aapt (aapt2_64) (push) Failing after 0s
CI / analyze-linux-aapt (aapt_64) (push) Failing after 0s
CI / analyze-windows-aapt (aapt2_64.exe) (push) Has been cancelled
CI / analyze-windows-aapt (aapt_64.exe) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (11, macOS-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (11, ubuntu-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (11, windows-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (17, macOS-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (17, ubuntu-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (17, windows-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (21, macOS-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (21, ubuntu-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (21, windows-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (8, macOS-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (8, ubuntu-latest) (push) Has been cancelled
CI / Build/Test (JDK ${{ matrix.java }}, ${{ matrix.os }}) (8, windows-latest) (push) Has been cancelled
CI / Build apktool.jar (push) Has been cancelled

This commit is contained in:
Connor Tumbleson 2024-09-16 20:09:12 -04:00 committed by GitHub
parent 1d6e328de0
commit 6d1017eadf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"))
}