Fix JDK9 plugin when using OSGi
This commit is contained in:
parent
325b463ee1
commit
aeb6c0da40
1 changed files with 4 additions and 1 deletions
|
|
@ -52,7 +52,10 @@ object Jdk9 extends AutoPlugin {
|
|||
// so we add them to the fullClasspath instead.
|
||||
// Compile / packageBin / mappings
|
||||
// ++= (CompileJdk9 / products).value.flatMap(Path.allSubpaths),
|
||||
Compile / fullClasspath ++= (CompileJdk9 / exportedProducts).value)
|
||||
// After sbt-osgi 0.9.5, there not use fullClasspath as package source, so we have to
|
||||
// add jdk9 products to dependencyClasspathAsJars instead.
|
||||
// Compile / fullClasspath ++= (CompileJdk9 / exportedProducts).value)
|
||||
Compile / dependencyClasspathAsJars ++= (CompileJdk9 / exportedProducts).value)
|
||||
|
||||
lazy val testSettings = Seq((Test / test) := {
|
||||
(Test / test).value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue