mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 14:50:23 +08:00
26 lines
837 B
Scala
26 lines
837 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.git.baseVersion := "1.3.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.4"
|
|
|
|
useGpg in GlobalScope := true
|
|
|
|
aggregate in publishSigned := false
|
|
publishSigned := (publishSigned in configLib).value
|
|
|
|
aggregate in publishLocalSigned := false
|
|
publishLocalSigned := (publishLocalSigned in configLib).value
|