Skip to content

Commit b04fc82

Browse files
authored
Merge pull request #220 from SethTisue/java-9-friendly-osgi
choose an sbt-osgi version according to JVM version
2 parents f3f3e70 + 526dbff commit b04fc82

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

project/plugins.sbt

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.14")
22

3+
if (System.getProperty("java.version").startsWith("1."))
4+
Seq()
5+
else
6+
// override to version that works on Java 9,
7+
// see https://github.com/scala/sbt-scala-module/issues/35
8+
Seq(addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.3"))
9+
310
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.22")

0 commit comments

Comments
 (0)