Permalink
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (26 sloc) 818 Bytes
import ReleaseTransformations._
name in ThisBuild := "feature-switching"
organization in ThisBuild := "com.gu"
scalaVersion in ThisBuild := "2.11.7"
libraryDependencies ++= Common.dependencies
scalacOptions in ThisBuild += "-deprecation"
publishArtifact := false
lazy val core = Project("core", file("core"))
lazy val scalatra = Project("scalatra", file("scalatra"))
.dependsOn(core)
lazy val root = Project("root", file("."))
.aggregate(core, scalatra)
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _)),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
pushChanges
)