Skip to content

Commit 4d9cb2c

Browse files
committed
Merge pull request #79 from gourlaysama/bump2
bump scala, sbt and scala-module-plugin versions
2 parents 845d5ab + 26d36ac commit 4d9cb2c

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ script: admin/build.sh
2121
jdk:
2222
- openjdk6
2323
- openjdk7
24+
- oraclejdk8
2425

2526
notifications:
2627
email:

build.sbt

+9-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ name := "scala-parser-combinators"
66

77
version := "1.0.5-SNAPSHOT"
88

9-
scalaVersion := crossScalaVersions.value.head
10-
11-
crossScalaVersions := Seq("2.11.6", "2.12.0-M1")
9+
crossScalaVersions in ThisBuild := {
10+
val javaVersion = System.getProperty("java.version")
11+
val isJDK6Or7 =
12+
javaVersion.startsWith("1.6.") || javaVersion.startsWith("1.7.")
13+
if (isJDK6Or7)
14+
Seq("2.11.7")
15+
else
16+
Seq("2.11.7", "2.12.0-M3")
17+
}
1218

1319
// important!! must come here (why?)
1420
scalaModuleOsgiSettings

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.8
1+
sbt.version=0.13.9

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.3")
1+
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.4")

0 commit comments

Comments
 (0)