build(Needs bump): run build task when dummy publication task is executed

This fixes issues with semantic-release not being able to upload release assets
This commit is contained in:
oSumAtrIX
2023-08-23 16:28:38 +02:00
parent 1fa3dd7b8c
commit f556909b9e
2 changed files with 5 additions and 5 deletions

View File

@@ -31,10 +31,6 @@ tasks {
expand("projectVersion" to project.version)
}
build {
dependsOn(shadowJar)
}
shadowJar {
manifest {
attributes("Main-Class" to "app.revanced.cli.command.MainCommandKt")
@@ -46,6 +42,10 @@ tasks {
}
}
build {
dependsOn(shadowJar)
}
// Dummy task to fix the Gradle semantic-release plugin.
// Remove this if you forked it to support building only.
// Tracking issue: https://github.com/KengoTODA/gradle-semantic-release-plugin/issues/435