1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
// only added when publishing:
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
/* There's a companion sensitive.sbt, which was created like this:
1. in an sbt shell when sbt-gpg is loaded, create pgp key in admin/:
set pgpReadOnly := false
pgp-cmd gen-key // use $passPhrase
pgp-cmd send-key <keyIdUsingTabCompletion> hkp://keyserver.ubuntu.com
2. create sensitive.sbt with contents:
pgpPassphrase := Some($passPhrase.toArray)
pgpPublicRing := file("admin/pubring.asc")
pgpSecretRing := file("admin/secring.asc")
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", $sonaUser, $sonaPass)
*/
|