From cc3ab9c29f7b772e9194e4181b6de7c4d4784956 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Thu, 9 Aug 2018 20:40:12 -0700 Subject: Migrate to sbt-gpg --- .ci/build | 8 ++++++-- project/publish.sbt | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.ci/build b/.ci/build index 90d70dc..ac6f5d7 100755 --- a/.ci/build +++ b/.ci/build @@ -15,8 +15,12 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then # Set up publishing settings and credentials cat < credentials.sbt - useGpg in Global := true - pgpSigningKey in Global := Some(0x488F99C904F077E8l) + credentials in Global += Credentials( + "gpg", + "gpg", + "DC7751D77486D755815C04AB488F99C904F077E8", + "ignored" + ) credentials in Global += Credentials( "Sonatype Nexus Repository Manager", "oss.sonatype.org", diff --git a/project/publish.sbt b/project/publish.sbt index 1c70137..92c91ee 100644 --- a/project/publish.sbt +++ b/project/publish.sbt @@ -1,2 +1,2 @@ addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3") -addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") +addSbtPlugin("io.crashbox" % "sbt-gpg" % "0.1.6") -- cgit v1.2.3