We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dependsOn
mustRunAfter
1 parent bce4ca8 commit d71f5dbCopy full SHA for d71f5db
build-logic/src/main/kotlin/rsocketbuild.publication.gradle.kts
@@ -41,8 +41,8 @@ if (versionSuffix != null) {
41
val javadocJar by tasks.registering(Jar::class) { archiveClassifier.set("javadoc") }
42
43
// this is somewhat a hack because we have a single javadoc artifact which is used for all publications
44
-tasks.withType<Sign>().configureEach { mustRunAfter(javadocJar) }
45
-tasks.withType<AbstractPublishToMaven>().configureEach { mustRunAfter(tasks.withType<Sign>()) }
+tasks.withType<Sign>().configureEach { dependsOn(javadocJar) }
+tasks.withType<AbstractPublishToMaven>().configureEach { dependsOn(tasks.withType<Sign>()) }
46
47
publishing {
48
publications.withType<MavenPublication> {
0 commit comments