mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 23:01:05 +08:00
9f31d6308e
The git plugin sets in ThisBuild which overrides GlobalScope.
30 lines
858 B
Scala
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
|