Skip to content

Commit

Permalink
Fixed signing
Browse files Browse the repository at this point in the history
  • Loading branch information
lemcoder committed Dec 17, 2024
1 parent 88558b5 commit c4e7aad
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions midi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ mavenPublishing {

// Sign with default plugin
signing {
// useInMemoryPgpKeys(
// System.getenv("SIGNING_KEY"),
// System.getenv("SIGNING_KEY_PASSWORD")
// )
// sign(publishing.publications)
//
// // Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
// tasks.withType<AbstractPublishToMaven>().configureEach {
// val signingTasks = tasks.withType<Sign>()
// mustRunAfter(signingTasks)
// }
useInMemoryPgpKeys(
System.getenv("SIGNING_KEY"),
System.getenv("SIGNING_KEY_PASSWORD")
)
sign(publishing.publications)

// Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
tasks.withType<AbstractPublishToMaven>().configureEach {
val signingTasks = tasks.withType<Sign>()
mustRunAfter(signingTasks)
}
}
22 changes: 11 additions & 11 deletions soundfont/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ mavenPublishing {

// Sign with default plugin
signing {
// useInMemoryPgpKeys(
// System.getenv("SIGNING_KEY"),
// System.getenv("SIGNING_KEY_PASSWORD")
// )
// sign(publishing.publications)
//
// // Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
// tasks.withType<AbstractPublishToMaven>().configureEach {
// val signingTasks = tasks.withType<Sign>()
// mustRunAfter(signingTasks)
// }
useInMemoryPgpKeys(
System.getenv("SIGNING_KEY"),
System.getenv("SIGNING_KEY_PASSWORD")
)
sign(publishing.publications)

// Temporary workaround, see https://github.com/gradle/gradle/issues/26091#issuecomment-1722947958
tasks.withType<AbstractPublishToMaven>().configureEach {
val signingTasks = tasks.withType<Sign>()
mustRunAfter(signingTasks)
}
}

0 comments on commit c4e7aad

Please sign in to comment.