Skip to content

Commit

Permalink
Add dependency on signing tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstTimeInForever committed Jul 13, 2023
1 parent 4acc8df commit 38bcc4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,8 @@ for ((publication, artifact) in publicationsToArtifacts) {
signPublicationsIfNecessary(*publicationsToArtifacts.keys.toTypedArray())
configureSonatypePublicationIfNecessary()
configureBintrayPublicationIfNecessary()

tasks.withType<AbstractPublishToMaven>().configureEach {
val signingTasks = tasks.withType<Sign>()
mustRunAfter(signingTasks)
}

0 comments on commit 38bcc4b

Please sign in to comment.