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..6438e89dd 100644 --- a/build-logic/publication/src/main/kotlin/convention.sonatype.gradle.kts +++ b/build-logic/publication/src/main/kotlin/convention.sonatype.gradle.kts @@ -40,11 +40,3 @@ 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 - } -} diff --git a/gradle.properties b/gradle.properties index 7e10d0166..f9fab4acf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,4 +6,4 @@ kotlin.code.style=official android.useAndroidX = true -kaspresso.version=1.5.0 +kaspresso.version=1.5.2