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 11val javaVersion = " 1.8"
22
3+ import sbtrelease .ReleasePlugin .autoImport ._
4+
35inThisBuild(
46 Seq (
57 organization := " software.purpledragon.xml" ,
@@ -26,25 +28,22 @@ inThisBuild(
2628 ),
2729 ))
2830
31+ lazy val commonSettings = Seq (
32+ releasePublishArtifactsAction := PgpKeys .publishLocalSigned.value,
33+ previewSite := {},
34+ previewAuto := {},
35+ )
36+
2937lazy val xmlCompare = Project (" xml-compare" , file(" xml-compare" ))
30- .settings(
31- previewSite := {},
32- previewAuto := {}
33- )
38+ .settings(commonSettings)
3439
3540lazy val xmlScalatest = Project (" xml-scalatest" , file(" xml-scalatest" ))
3641 .dependsOn(xmlCompare)
37- .settings(
38- previewSite := {},
39- previewAuto := {}
40- )
42+ .settings(commonSettings)
4143
4244lazy val xmlSpecs2 = Project (" xml-specs2" , file(" xml-specs2" ))
4345 .dependsOn(xmlCompare)
44- .settings(
45- previewSite := {},
46- previewAuto := {}
47- )
46+ .settings(commonSettings)
4847
4948import ReleaseTransformations ._
5049lazy val root = Project (" scala-xml-compare" , file(" ." ))
@@ -70,7 +69,6 @@ lazy val root = Project("scala-xml-compare", file("."))
7069 ),
7170 // sbt-release settings
7271 releaseCrossBuild := true ,
73- releasePublishArtifactsAction := PgpKeys .publishSigned.value,
7472 releaseProcess := Seq [ReleaseStep ](
7573 checkSnapshotDependencies,
7674 inquireVersions,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0")
66
77// artifact publishing
88addSbtPlugin(" 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 " )
1010addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.11" )
1111
1212// 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