Upgrade Scala and sbt plugin versions
This commit is contained in:
parent
75cb0e5213
commit
81536ea146
24
build.sbt
24
build.sbt
|
@ -1,6 +1,3 @@
|
||||||
import SonatypeKeys._
|
|
||||||
|
|
||||||
sonatypeSettings
|
|
||||||
|
|
||||||
name := "snappy-java"
|
name := "snappy-java"
|
||||||
|
|
||||||
|
@ -10,7 +7,7 @@ organizationName := "xerial.org"
|
||||||
|
|
||||||
description := "snappy-java: A fast compression/decompression library"
|
description := "snappy-java: A fast compression/decompression library"
|
||||||
|
|
||||||
profileName := "org.xerial"
|
sonatypeProfileName := "org.xerial"
|
||||||
|
|
||||||
pomExtra := {
|
pomExtra := {
|
||||||
<url>https://github.comm/xerial/snappy-java</url>
|
<url>https://github.comm/xerial/snappy-java</url>
|
||||||
|
@ -47,7 +44,7 @@ pomExtra := {
|
||||||
</scm>
|
</scm>
|
||||||
}
|
}
|
||||||
|
|
||||||
scalaVersion := "2.11.1"
|
scalaVersion := "2.11.6"
|
||||||
|
|
||||||
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.6", "-target", "1.6")
|
javacOptions in (Compile, compile) ++= Seq("-encoding", "UTF-8", "-Xlint:unchecked", "-Xlint:deprecation", "-source", "1.6", "-target", "1.6")
|
||||||
|
|
||||||
|
@ -114,3 +111,20 @@ OsgiKeys.additionalHeaders := Map(
|
||||||
"Bundle-ActivationPolicy" -> "lazy",
|
"Bundle-ActivationPolicy" -> "lazy",
|
||||||
"Bundle-Name" -> "snappy-java: A fast compression/decompression library"
|
"Bundle-Name" -> "snappy-java: A fast compression/decompression library"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
import ReleaseTransformations._
|
||||||
|
|
||||||
|
releaseProcess := Seq[ReleaseStep](
|
||||||
|
checkSnapshotDependencies,
|
||||||
|
inquireVersions,
|
||||||
|
runClean,
|
||||||
|
runTest,
|
||||||
|
setReleaseVersion,
|
||||||
|
commitReleaseVersion,
|
||||||
|
tagRelease,
|
||||||
|
ReleaseStep(action = Command.process("publishSigned", _)),
|
||||||
|
setNextVersion,
|
||||||
|
commitNextVersion,
|
||||||
|
ReleaseStep(action = Command.process("sonatypeReleaseAll", _)),
|
||||||
|
pushChanges
|
||||||
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
sbt.version=0.13.6
|
sbt.version=0.13.8
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.7.1")
|
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.0")
|
||||||
|
|
||||||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.2.1")
|
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.5.0")
|
||||||
|
|
||||||
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
|
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
|
||||||
|
|
||||||
addSbtPlugin("de.johoop" % "findbugs4sbt" % "1.3.0")
|
addSbtPlugin("de.johoop" % "findbugs4sbt" % "1.3.0")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue