Skip to content
PGP plugin for SBT 0.12+
Scala CSS HTML
Find file
Pull request Compare This branch is 1 commit ahead, 69 commits behind master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
gpg-library/src/main
notes
project
src
.gitignore
LICENSE
README.md

README.md

PGP Plugin

This plugin aims to provide PGP signing for XSBT (SBT 0.12+ versions). The plugin currently uses the command line GPG process with the option to use the Bouncy Castle java security library for PGP.

Usage

If you already have GPG configured, simply add the following to your ~/.sbt/plugins/gpg.sbt file:

resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.7")

If you're using SBT 0.11.3 or earlier, please find the PGP plugin at its previous location:

resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.5")

The plugin should wire into all your projects and sign files before they are deployed.

No other configuration should be necessary if you have a gpg generated key available.

Please see the documentation for more information on usage.

Something went wrong with that request. Please try again.