From 2d10586ba1dc878a57d34ba5727e0321b1ed5e69 Mon Sep 17 00:00:00 2001 From: JingZhang Chen Date: Fri, 26 Jan 2024 11:21:10 +0800 Subject: [PATCH] fix compile on jdk8 --- project/Jdk9.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Jdk9.scala b/project/Jdk9.scala index a30237d69a..7c3bfb33f6 100644 --- a/project/Jdk9.scala +++ b/project/Jdk9.scala @@ -55,7 +55,7 @@ object Jdk9 extends AutoPlugin { // Since sbt-osgi upgrade to 0.9.5, the fullClasspath is no longer used on packaging when use sbt-osgi, so we have to // add jdk9 products to dependencyClasspathAsJars instead. // Compile / fullClasspath ++= (CompileJdk9 / exportedProducts).value) - Compile / dependencyClasspathAsJars ++= (CompileJdk9 / exportedProducts).value) + Compile / dependencyClasspathAsJars ++= notOnJdk8((CompileJdk9 / exportedProducts).value)) lazy val testSettings = Seq((Test / test) := { (Test / test).value