diff --git a/project/Build.scala b/project/Build.scala index 063c153..d540ca9 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -180,31 +180,13 @@ object Release { import sbtrelease._ import ReleaseStateTransformations._ import ReleasePlugin._ - import ReleaseKeys._ - import Utilities._ - import com.typesafe.sbt.SbtPgp.PgpKeys._ + import ReleasePlugin.autoImport._ + import com.typesafe.sbt.SbtPgp.PgpKeys - val settings = releaseSettings ++ Seq ( - ReleaseKeys.crossBuild := true, - ReleaseKeys.releaseProcess := Seq[ReleaseStep]( - checkSnapshotDependencies, - inquireVersions, - runTest, - setReleaseVersion, - commitReleaseVersion, - tagRelease, - publishArtifacts.copy(action = publishSignedAction), - setNextVersion, - commitNextVersion, - pushChanges - ) + val settings = Seq ( + releaseCrossBuild := true, + releasePublishArtifactsAction := PgpKeys.publishSigned.value ) - - lazy val publishSignedAction = { st: State => - val extracted = st.extract - val ref = extracted.get(thisProjectRef) - extracted.runAggregated(publishSigned in Global in ref, st) - } } object Eclipse { diff --git a/project/plugins.sbt b/project/plugins.sbt index e910637..80abd8c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,5 +6,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3") addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.3.0") -addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.8.5") +addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.0")