Skip to content

Commit 4178052

Browse files
committed
Downgrade sbt-osgi to 0.8.0
Version 0.9.1 requires running sbt on Java 8. In our module builds we still use Java 6 for building the against Scala 2.11.
1 parent f2ac283 commit 4178052

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ bintrayRepository := "sbt-plugins"
2424

2525
bintrayOrganization := None
2626

27-
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.1")
27+
// Version 0.9.1 requires Java 8 (on 6 we get NoClassDefFoundError: java/util/function/Predicate).
28+
// We still run our plugin builds for 2.11 on Java 6, so we cannot upgrade.
29+
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.8.0")
2830

2931
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.14")

0 commit comments

Comments
 (0)