diff --git a/build.gradle b/build.gradle index 1a0023a..c5d92cb 100644 --- a/build.gradle +++ b/build.gradle @@ -142,9 +142,6 @@ signing { postRelease.dependsOn(tasks.publish) afterEvaluate { - tasks."final".dependsOn(tasks.publishToSonatype, tasks.closeAndReleaseSonatypeStagingRepository) - tasks."candidate".dependsOn(tasks.publishToSonatype, tasks.closeAndReleaseSonatypeStagingRepository) - tasks.publishToSonatype.mustRunAfter(tasks.postRelease) + tasks."release".dependsOn(tasks.publishToSonatype, tasks.closeAndReleaseSonatypeStagingRepository) tasks.closeSonatypeStagingRepository.mustRunAfter(tasks.publishToSonatype) - tasks.publish.mustRunAfter(tasks.release) }