Skip to content

Commit

Permalink
enable graalvm native image plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hrj committed Sep 3, 2020
1 parent 66d4a42 commit aaa89ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ lazy val abandon = (project in file(".")).
settings(commonSettings: _*).
settings(
name := "abandon",
fork in run := true
fork in run := true,
nativeImageOptions ++= List("--initialize-at-build-time", "--no-fallback", "-O2")
)
.enablePlugins(NativeImagePlugin)

lazy val base = (project in file("base")).
enablePlugins(BuildInfoPlugin).
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")

addSbtPlugin("org.scalameta" % "sbt-native-image" % "0.1.2")

// addSbtPlugin("com.typesafe.sbt" % "sbt-proguard" % "0.2.2")

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
Expand Down

0 comments on commit aaa89ac

Please sign in to comment.