Skip to content

Commit

Permalink
Removed mustRunAfter as it was unnecessary here.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsnappy1 committed Nov 5, 2024
1 parent 77b90ce commit f90876c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions resourcemanager-compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ tasks.register<GenerateChecksumTask>("generateChecksum") {
group = "verification"
description = "Generates MD5 and SHA-1 checksums for specified files."
filesToChecksum = artifacts
mustRunAfter("generateArtifacts")
}

/* ----------------- Sign Artifacts ----------------- */
Expand All @@ -93,7 +92,6 @@ tasks.register<SignArtifactsTask>("signArtifacts") {
description = "Signs all artifacts with GPG/PGP."
filesToSign = artifacts
passphrase = getSecret("GPG_PASSPHRASE")
mustRunAfter("generateArtifacts")
}

fun getSecret(name: String): String {
Expand All @@ -119,7 +117,6 @@ tasks.register<Zip>("generateBundle") {
destinationDirectory = file(layout.buildDirectory.dir("publish/bundle"))
from(artifactRepo.parentFile.parentFile.parentFile.parentFile)
doLast { println("Bundle generated.") }
mustRunAfter("generateArtifacts", "generateChecksum", "signArtifacts")
}

/* ----------------- Maven Publish (Meta data) ----------------- */
Expand Down
3 changes: 0 additions & 3 deletions resourcemanager-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ tasks.register<GenerateChecksumTask>("generateChecksum") {
group = "verification"
description = "Generates MD5 and SHA-1 checksums for specified files."
filesToChecksum = artifacts
mustRunAfter("generateArtifacts")
}

/* ----------------- Sign Artifacts ----------------- */
Expand All @@ -153,7 +152,6 @@ tasks.register<SignArtifactsTask>("signArtifacts") {
description = "Signs all artifacts with GPG/PGP."
filesToSign = artifacts
passphrase = getSecret("GPG_PASSPHRASE")
mustRunAfter("generateArtifacts")
}

fun getSecret(name: String): String {
Expand All @@ -179,7 +177,6 @@ tasks.register<Zip>("generateBundle") {
destinationDirectory = file(layout.buildDirectory.dir("publish/bundle"))
from(artifactRepo.parentFile.parentFile.parentFile.parentFile)
doLast { println("Bundle generated.") }
mustRunAfter("generateArtifacts", "generateChecksum", "signArtifacts")
}

/* ----------------- Maven Publish (Meta data) ----------------- */
Expand Down

0 comments on commit f90876c

Please sign in to comment.