diff --git a/build.sbt b/build.sbt index 338c0c4..e9ace07 100644 --- a/build.sbt +++ b/build.sbt @@ -45,5 +45,6 @@ lazy val root = (project in file(".")) // GraalVM settings Compile / mainClass := Some("eu.neverblink.jelly.cli.App"), // Do a fast build if it's a dev build - graalVMNativeImageOptions := (if (isDevBuild) Seq("-Ob") else Seq("--emit build-report")), + // For the release build, optimize for size and make a build report + graalVMNativeImageOptions := (if (isDevBuild) Seq("-Ob") else Seq("-Os", "--emit build-report")), )