File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
import sbt .Keys ._
2
2
import sbt ._
3
+ import sbtrelease .ReleasePlugin
4
+ import sbtrelease .ReleasePlugin .ReleaseKeys
5
+ import com .typesafe .sbt .pgp .PgpKeys
3
6
4
7
object Scoverage extends Build {
5
8
6
9
val Org = " org.scoverage"
7
- val Version = " 1.0.5-SNAPSHOT"
8
10
val Scala = " 2.11.4"
9
11
val MockitoVersion = " 1.9.5"
10
12
val ScalatestVersion = " 2.2.2"
11
13
12
14
lazy val LocalTest = config(" local" ) extend Test
13
15
14
16
val appSettings = Seq (
15
- version := Version ,
16
17
organization := Org ,
17
18
scalaVersion := Scala ,
18
19
crossScalaVersions := Seq (" 2.10.4" , " 2.11.4" ),
@@ -60,6 +61,9 @@ object Scoverage extends Build {
60
61
pomIncludeRepository := {
61
62
_ => false
62
63
}
64
+ ) ++ ReleasePlugin .releaseSettings ++ Seq (
65
+ ReleaseKeys .crossBuild := true ,
66
+ ReleaseKeys .publishArtifactsAction := PgpKeys .publishSigned.value
63
67
)
64
68
65
69
lazy val root = Project (" scalac-scoverage" , file(" ." ))
Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ resolvers += Classpaths.sbtPluginReleases
2
2
3
3
addSbtPlugin(" org.scalastyle" %% " scalastyle-sbt-plugin" % " 0.3.2" )
4
4
5
- addSbtPlugin(" com.typesafe.sbt" % " sbt-pgp" % " 0.8.3" )
5
+ addSbtPlugin(" com.typesafe.sbt" % " sbt-pgp" % " 0.8.3" )
6
+
7
+ addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 0.8.5" )
Original file line number Diff line number Diff line change
1
+ version in ThisBuild := " 1.0.5-SNAPSHOT"
You can’t perform that action at this time.
0 commit comments