Skip to content

Commit

Permalink
Update coursier-interface to 1.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault authored and kitbellew committed Sep 20, 2024
1 parent d0e7f65 commit 3b6b84a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ lazy val cli = crossProject(JVMPlatform).withoutSuffixFor(JVMPlatform)
val isStatic = sys.env.get("NATIVE_IMAGE_STATIC").exists(_.toBoolean)
if (isStatic) Seq("--static") else Nil
},
nativeImageOptions ++= Seq(
"org.scalafmt.cli.ScalafmtDynamicRunner$",
"coursierapi.internal.jniutils.ApiInternalNativeApi",
).map(cls => s"--initialize-at-run-time=$cls"),
).dependsOn(core, dynamic).enablePlugins(NativeImagePlugin)

lazy val tests = crossProject(JVMPlatform).withoutSuffixFor(JVMPlatform)
Expand Down

0 comments on commit 3b6b84a

Please sign in to comment.