mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-23 22:56:52 +01:00
* Moved Cli code to an object called ConsoleCli which can be called from sbt console * Add --allow-incomplete-classpath to cli.sbt Co-authored-by: Ben Carman <benthecarman@live.com>
20 lines
567 B
Scala
20 lines
567 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",
|
|
"--allow-incomplete-classpath"
|
|
)
|
|
|
|
enablePlugins(JavaAppPackaging, GraalVMNativeImagePlugin)
|
|
|
|
publish / skip := true
|