build: add native-image builder

This commit is contained in:
dusk 2024-08-23 00:13:36 +03:00
parent 5fce840adc
commit b3b53dd1fc
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ val LogbackVersion = "1.5.6"
val MunitCatsEffectVersion = "2.0.0" val MunitCatsEffectVersion = "2.0.0"
lazy val root = (project in file(".")) lazy val root = (project in file("."))
.enablePlugins(GraalVMNativeImagePlugin)
.settings( .settings(
organization := "systems.gaze", organization := "systems.gaze",
name := "guestbook", name := "guestbook",

View File

@ -1,3 +1,4 @@
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.1") addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.1")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.2.0") addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.2.0")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4")