Skip to content

Commit

Permalink
Fix Maven Publications' Signing (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNoles authored May 7, 2023
1 parent e4081cf commit 66bd9c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/src/main/kotlin/publication.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,8 @@ signing {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
project.tasks.withType(AbstractPublishToMaven::class.java).configureEach {
dependsOn(project.tasks.withType(Sign::class.java))
}

0 comments on commit 66bd9c7

Please sign in to comment.