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 7be2a04 commit 54bd163
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ signing {
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
}

tasks.withType<Sign>().configureEach {
onlyIf {
val isReleaseQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeReleasesRepoName}Repository")
val isSnapshotQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeSnapshotsRepoName}Repository")
isReleaseQueued || isSnapshotQueued
}
}
//tasks.withType<Sign>().configureEach {
// onlyIf {
// val isReleaseQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeReleasesRepoName}Repository")
// val isSnapshotQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeSnapshotsRepoName}Repository")
// isReleaseQueued || isSnapshotQueued
// }
//}
8 changes: 0 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,3 @@ 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 54bd163

Please sign in to comment.