From 54bd1632ad79be6682ebfaa1d073e1a92e54102a Mon Sep 17 00:00:00 2001 From: Azamat Date: Wed, 14 Feb 2024 11:20:29 +0300 Subject: [PATCH] TECH: updated legal docs for release 1.5.4 --- .../src/main/kotlin/convention.sonatype.gradle.kts | 14 +++++++------- build.gradle.kts | 8 -------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/build-logic/publication/src/main/kotlin/convention.sonatype.gradle.kts b/build-logic/publication/src/main/kotlin/convention.sonatype.gradle.kts index a6a5dddb9..f54d2eeab 100644 --- a/build-logic/publication/src/main/kotlin/convention.sonatype.gradle.kts +++ b/build-logic/publication/src/main/kotlin/convention.sonatype.gradle.kts @@ -41,10 +41,10 @@ signing { useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) } -tasks.withType().configureEach { - onlyIf { - val isReleaseQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeReleasesRepoName}Repository") - val isSnapshotQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeSnapshotsRepoName}Repository") - isReleaseQueued || isSnapshotQueued - } -} +//tasks.withType().configureEach { +// onlyIf { +// val isReleaseQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeReleasesRepoName}Repository") +// val isSnapshotQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeSnapshotsRepoName}Repository") +// isReleaseQueued || isSnapshotQueued +// } +//} diff --git a/build.gradle.kts b/build.gradle.kts index 4c798588c..6073dce8d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,11 +37,3 @@ val detektAll = tasks.register("detektAll") { html.required.set(false) } } - -tasks.withType().configureEach { - onlyIf { - val isReleaseQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeReleasesRepoName}Repository") - val isSnapshotQueued = gradle.taskGraph.hasTask("publishAllPublicationsTo${sonatypeSnapshotsRepoName}Repository") - isReleaseQueued || isSnapshotQueued - } -}