Skip to content

Commit 81536ea

Browse files
committed
Upgrade Scala and sbt plugin versions
1 parent 75cb0e5 commit 81536ea

3 files changed

Lines changed: 23 additions & 9 deletions

File tree

build.sbt

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import SonatypeKeys._
2-
3-
sonatypeSettings
41

52
name := "snappy-java"
63

@@ -10,7 +7,7 @@ organizationName := "xerial.org"
107

118
description := "snappy-java: A fast compression/decompression library"
129

13-
profileName := "org.xerial"
10+
sonatypeProfileName := "org.xerial"
1411

1512
pomExtra := {
1613
<url>https://github.comm/xerial/snappy-java</url>
@@ -47,7 +44,7 @@ pomExtra := {
4744
</scm>
4845
}
4946

50-
scalaVersion := "2.11.1"
47+
scalaVersion := "2.11.6"
5148

5249
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.6", "-target", "1.6")
5350

@@ -114,3 +111,20 @@ OsgiKeys.additionalHeaders := Map(
114111
"Bundle-ActivationPolicy" -> "lazy",
115112
"Bundle-Name" -> "snappy-java: A fast compression/decompression library"
116113
)
114+
115+
import ReleaseTransformations._
116+
117+
releaseProcess := Seq[ReleaseStep](
118+
checkSnapshotDependencies,
119+
inquireVersions,
120+
runClean,
121+
runTest,
122+
setReleaseVersion,
123+
commitReleaseVersion,
124+
tagRelease,
125+
ReleaseStep(action = Command.process("publishSigned", _)),
126+
setNextVersion,
127+
commitNextVersion,
128+
ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
129+
pushChanges
130+
)

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sbt.version=0.13.6
1+
sbt.version=0.13.8
22

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.7.1")
2+
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.0")
33

4-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.2.1")
4+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.5.0")
55

6-
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
6+
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
77

88
addSbtPlugin("de.johoop" % "findbugs4sbt" % "1.3.0")
99

0 commit comments

Comments
 (0)