bitcoin-s/app/cli/cli.sbt
Chris Stewart 54cd05a7f2 Add new sbt-native-image plugin that helps generate a correct native … (#2494)
* Add new sbt-native-image plugin that helps generate a correct native image for the cli

* Initialize everything at build time to try and get cli working again

* Get server working with native image build

* Add '--no-fallback' which will report failures if we fail to build a standalone image

* Revert server project, file issue 2506 to indicate problems with server build

* Add native cli publishing using github actions

* Preprend 'app/' to paths

* Enable http,https protocols on cli

* Remove old graalvm plugin settings related to sbt native packager
2021-01-13 09:41:00 -06:00

13 lines
286 B
Scala

name := "bitcoin-s-cli"
libraryDependencies ++= Deps.cli(scalaVersion.value)
nativeImageOptions ++= Seq(
"-H:+ReportExceptionStackTraces",
"--initialize-at-build-time",
"--no-fallback",
"--enable-http",
"--enable-https"
)
enablePlugins(JavaAppPackaging, NativeImagePlugin)