Skip to content

Commit

Permalink
forgot to move signing config...
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetuska committed Apr 30, 2023
1 parent 8610c16 commit 396e2c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions npm-publish-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,12 @@ publishing {
}
}
}

signing {
val signingKey: String? by project
val signingPassword: String? by project
if (signingKey != null) {
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}
}

0 comments on commit 396e2c5

Please sign in to comment.