Skip to content

Commit

Permalink
TECH: updated legal docs for release 1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AzamatCherchesov committed Feb 14, 2024
1 parent 5a5101a commit 7be2a04
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,11 @@ val detektAll = tasks.register<Detekt>("detektAll") {
html.required.set(false)
}
}

tasks.withType<Sign>().configureEach {
onlyIf {
val isReleaseQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeReleasesRepoName}Repository")
val isSnapshotQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeSnapshotsRepoName}Repository")
isReleaseQueued || isSnapshotQueued
}
}

0 comments on commit 7be2a04

Please sign in to comment.