Skip to content

Commit

Permalink
Revert replacing dependsOn with mustRunAfter in publishing (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed May 22, 2024
1 parent bce4ca8 commit 3e466c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ if (versionSuffix != null) {
val javadocJar by tasks.registering(Jar::class) { archiveClassifier.set("javadoc") }

// this is somewhat a hack because we have a single javadoc artifact which is used for all publications
tasks.withType<Sign>().configureEach { mustRunAfter(javadocJar) }
tasks.withType<AbstractPublishToMaven>().configureEach { mustRunAfter(tasks.withType<Sign>()) }
tasks.withType<Sign>().configureEach { dependsOn(javadocJar) }
tasks.withType<AbstractPublishToMaven>().configureEach { dependsOn(tasks.withType<Sign>()) }

publishing {
publications.withType<MavenPublication> {
Expand Down

0 comments on commit 3e466c9

Please sign in to comment.