diff --git a/app/cli/cli.sbt b/app/cli/cli.sbt index 250d5d2ca6..d68cf014cc 100644 --- a/app/cli/cli.sbt +++ b/app/cli/cli.sbt @@ -2,8 +2,16 @@ name := "bitcoin-s-cli" libraryDependencies ++= Deps.cli -graalVMNativeImageOptions += "-H:EnableURLProtocols=http" +graalVMNativeImageOptions ++= Seq( + "-H:EnableURLProtocols=http", + // builds a stand-alone image or reports a failure + "--no-fallback", + // without this, we get complaints about Function3 + // I'm not sure why, though... + "--initialize-at-build-time=scala.Function3", + "--verbose" +) enablePlugins(JavaAppPackaging, GraalVMNativeImagePlugin) -publish / skip := true \ No newline at end of file +publish / skip := true