Skip to content

Commit cae40c4

Browse files
authored
Merge pull request #154 from SethTisue/osgi-java9-fix
make build work on Java 9
2 parents 8e8e880 + 256aa41 commit cae40c4

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 @@
1+
if (System.getProperty("java.version").startsWith("1."))
2+
Seq()
3+
else
4+
// override to version that works on Java 9,
5+
// see https://github.com/scala/sbt-scala-module/issues/35
6+
Seq(addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.3"))
7+
18
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.14")
29

310
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.23")

0 commit comments

Comments
 (0)