config/build.sbt
Havoc Pennington 9f31d6308e set git.baseVersion in ThisBuild not GlobalScope so it works
The git plugin sets in ThisBuild which overrides GlobalScope.
2014-01-06 15:26:18 -05:00

30 lines
858 B
Scala

import com.typesafe.sbt.SbtGit
import com.typesafe.sbt.SbtPgp.PgpKeys.{ useGpg, publishSigned, publishLocalSigned }
// to release, bump major/minor/micro as appropriate,
// update NEWS, update version in README.md, tag, then
// publishSigned.
// Release tags should follow: http://semver.org/
SbtGit.versionWithGit
SbtGit.GitKeys.baseVersion in ThisBuild := "1.1.0"
organization in GlobalScope := "com.typesafe"
scalacOptions in GlobalScope in Compile := Seq("-unchecked", "-deprecation", "-feature")
scalacOptions in GlobalScope in Test := Seq("-unchecked", "-deprecation", "-feature")
scalaVersion in ThisBuild := "2.10.2"
useGpg in GlobalScope := true
aggregate in publishSigned := false
publishSigned := (publishSigned in configLib).value
aggregate in publishLocalSigned := false
publishLocalSigned := (publishLocalSigned in configLib).value