@@ -613,11 +613,11 @@ lazy val scalacheck = project.in(file("test") / "scalacheck")
613
613
614
614
lazy val osgiTestFelix = osgiTestProject(
615
615
project.in(file(" ." ) / " target" / " osgiTestFelix" ),
616
- " org.apache.felix" % " org.apache.felix.framework" % " 5.0.1 " )
616
+ " org.apache.felix" % " org.apache.felix.framework" % " 5.6.10 " )
617
617
618
618
lazy val osgiTestEclipse = osgiTestProject(
619
619
project.in(file(" ." ) / " target" / " osgiTestEclipse" ),
620
- " org.eclipse.tycho" % " org.eclipse.osgi" % " 3.10.100.v20150521-1310 " )
620
+ " org.eclipse.tycho" % " org.eclipse.osgi" % " 3.13.0.v20180226-1711 " )
621
621
622
622
def osgiTestProject (p : Project , framework : ModuleID ) = p
623
623
.dependsOn(library, reflect, compiler)
@@ -629,7 +629,7 @@ def osgiTestProject(p: Project, framework: ModuleID) = p
629
629
fork in Test := true ,
630
630
parallelExecution in Test := false ,
631
631
libraryDependencies ++= {
632
- val paxExamVersion = " 4.5 .0" // Last version which supports Java 6
632
+ val paxExamVersion = " 4.11 .0" // Last version which supports Java 9+
633
633
Seq (
634
634
junitDep,
635
635
junitInterfaceDep,
@@ -645,6 +645,7 @@ def osgiTestProject(p: Project, framework: ModuleID) = p
645
645
)
646
646
},
647
647
Keys .test in Test := (Keys .test in Test ).dependsOn(packageBin in Compile ).value,
648
+ Keys .testOnly in Test := (Keys .testOnly in Test ).dependsOn(packageBin in Compile ).evaluated,
648
649
testOptions += Tests .Argument (TestFrameworks .JUnit , " -a" , " -v" , " -q" ),
649
650
unmanagedSourceDirectories in Test := List ((baseDirectory in ThisBuild ).value / " test" / " osgi" / " src" ),
650
651
unmanagedResourceDirectories in Compile := (unmanagedSourceDirectories in Test ).value,
0 commit comments