File tree Expand file tree Collapse file tree 3 files changed +13
-15
lines changed Expand file tree Collapse file tree 3 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 1
1
val javaVersion = " 1.8"
2
2
3
+ import sbtrelease .ReleasePlugin .autoImport ._
4
+
3
5
inThisBuild(
4
6
Seq (
5
7
organization := " software.purpledragon.xml" ,
@@ -26,25 +28,22 @@ inThisBuild(
26
28
),
27
29
))
28
30
31
+ lazy val commonSettings = Seq (
32
+ releasePublishArtifactsAction := PgpKeys .publishLocalSigned.value,
33
+ previewSite := {},
34
+ previewAuto := {},
35
+ )
36
+
29
37
lazy val xmlCompare = Project (" xml-compare" , file(" xml-compare" ))
30
- .settings(
31
- previewSite := {},
32
- previewAuto := {}
33
- )
38
+ .settings(commonSettings)
34
39
35
40
lazy val xmlScalatest = Project (" xml-scalatest" , file(" xml-scalatest" ))
36
41
.dependsOn(xmlCompare)
37
- .settings(
38
- previewSite := {},
39
- previewAuto := {}
40
- )
42
+ .settings(commonSettings)
41
43
42
44
lazy val xmlSpecs2 = Project (" xml-specs2" , file(" xml-specs2" ))
43
45
.dependsOn(xmlCompare)
44
- .settings(
45
- previewSite := {},
46
- previewAuto := {}
47
- )
46
+ .settings(commonSettings)
48
47
49
48
import ReleaseTransformations ._
50
49
lazy val root = Project (" scala-xml-compare" , file(" ." ))
@@ -70,7 +69,6 @@ lazy val root = Project("scala-xml-compare", file("."))
70
69
),
71
70
// sbt-release settings
72
71
releaseCrossBuild := true ,
73
- releasePublishArtifactsAction := PgpKeys .publishSigned.value,
74
72
releaseProcess := Seq [ReleaseStep ](
75
73
checkSnapshotDependencies,
76
74
inquireVersions,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0")
6
6
7
7
// artifact publishing
8
8
addSbtPlugin(" org.foundweekends" % " sbt-bintray" % " 0.5.4" )
9
- addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.2-1 " )
9
+ addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 2.0.0 " )
10
10
addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.11" )
11
11
12
12
// documentation
Original file line number Diff line number Diff line change 1
- version in ThisBuild := " 1.0.3 "
1
+ version in ThisBuild := " 1.0.4-SNAPSHOT "
You can’t perform that action at this time.
0 commit comments