mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-24 06:57:51 +01:00
* 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
13 lines
286 B
Scala
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)
|