Add test for Scala Native #3293 that should be resolved in v.0.4.13

This commit is contained in:
Jarek Sacha 2023-06-05 18:51:09 -04:00
parent 47674de560
commit c30b853f64
No known key found for this signature in database
GPG key ID: F29625CE62288163
2 changed files with 33 additions and 4 deletions

View file

@ -1,4 +1,4 @@
scalaVersion := "3.3.0"
scalaVersion := "3.3.0"
//name := "IJP-ImageJ-Launcher"
version := "0.1.1-SNAPSHOT"
versionScheme := Some("early-semver")
@ -16,14 +16,15 @@ enablePlugins(ScalaNativePlugin)
logLevel := Level.Info
libraryDependencies ++= Seq(
"com.github.scopt" %%% "scopt" % "4.1.0",
"com.lihaoyi" %%% "os-lib" % "0.9.1"
"com.github.scopt" %%% "scopt" % "4.1.0",
"com.lihaoyi" %%% "os-lib" % "0.9.1",
"org.scalatest" %%% "scalatest" % "3.2.16" % Test
)
Compile / run / mainClass := Some("ij_plugins.imagej_launcher.Main")
// import to add Scala Native options
import scala.scalanative.build._
import scala.scalanative.build.*
// defaults set with common options shown
nativeConfig ~= { c =>