bitcoin-s/app/cli/cli.sbt
Chris Stewart f4e43ec4d8 2019 11 28 cli native image doc (#903)
* Add documentation about how the cli can be built with a native image

* Finish rest of documentation on building command line client for bitcoin-s

* Add missing akka actor on walletServer classpath, add plugins to be able to build the walletServer as a standalone jar

* Add server.md

* Rename walletServer -> appServer

* Address code review, add missing main class in server project

* Address code review
2019-12-04 07:25:03 -06:00

20 lines
534 B
Scala

name := "bitcoin-s-cli"
libraryDependencies ++= Deps.cli(scalaVersion.value)
graalVMNativeImageOptions ++= Seq(
"-H:EnableURLProtocols=http",
"-H:+ReportExceptionStackTraces",
// 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",
"--report-unsupported-elements-at-runtime",
"--verbose"
)
enablePlugins(JavaAppPackaging, GraalVMNativeImagePlugin)
publish / skip := true