Skip to content

Commit

Permalink
SNAPSHOTs #5
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Feb 19, 2024
1 parent bd18dae commit 48f5aee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build-logic/src/main/kotlin/internal/publishing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,7 @@ internal fun Project.configurePublishing(
plugins.apply("signing")
val signing = extensions.getByType(SigningExtension::class.java)

signing.useInMemoryPgpKeys(
signingOptions.privateKey,
signingOptions.privateKeyPassword
)
signing.useInMemoryPgpKeys(System.getenv("GPG_KEY"), System.getenv("GPG_KEY_PASSWORD"))
signing.sign(publishing.publications)

// See https://github.com/gradle/gradle/issues/26091
Expand Down

0 comments on commit 48f5aee

Please sign in to comment.