Skip to content

Commit 79f9bb9

Browse files
lolgabsjrd
andauthored
Simplify classpath search
Co-authored-by: Sébastien Doeraene <[email protected]>
1 parent 4dff899 commit 79f9bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
181181
)
182182
.fold(w => throw w.resolveException, identity(_))
183183
val jarPath = cp
184-
.find(_.toString.contains(s"/org/scala-native/junit-plugin_${scalaVersion.value}/$nativeVersion/junit-plugin_${scalaVersion.value}-$nativeVersion.jar"))
184+
.find(_.toString.contains("junit-plugin"))
185185
.getOrElse(throw new Exception("Can't find Scala Native junit-plugin jar"))
186186
s"-Xplugin:$jarPath"
187187
},

0 commit comments

Comments
 (0)