Skip to content

Instantly share code, notes, and snippets.

@SeongUgJung
Last active August 29, 2015 14:05
Show Gist options
  • Save SeongUgJung/a75689c32a196a0ebff7 to your computer and use it in GitHub Desktop.
Save SeongUgJung/a75689c32a196a0ebff7 to your computer and use it in GitHub Desktop.
apply plugin: 'signing'
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
}
}
}
signing.keyId=[PGP Key Short ID]
signing.password=[PGP Password]
signing.secretKeyRingFile=[PGP Path]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment