Skip to content

Instantly share code, notes, and snippets.

@entzik
Created October 28, 2019 17:30
Show Gist options
  • Save entzik/d5ea6c07ee23f979f17227e7baf8bc5e to your computer and use it in GitHub Desktop.
Save entzik/d5ea6c07ee23f979f17227e7baf8bc5e to your computer and use it in GitHub Desktop.
Jar signing configuration
signing {
val PGP_SIGNING_KEY: String? by project
val PGP_SIGNING_PASSWORD: String? by project
useInMemoryPgpKeys(PGP_SIGNING_KEY, PGP_SIGNING_PASSWORD)
sign(publishing.publications["mavenJava"])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment