Skip to content

Commit 256aa41

Browse files
committed
make build work on Java 9
for the Scala 2.12 community build on Java 9, not otherwise essential
1 parent 8e8e880 commit 256aa41

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: 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)