Skip to content

Commit

Permalink
Include conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Jun 1, 2021
1 parent 4fe038d commit 189c8a7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/bundle/bundle.sbt
Expand Up @@ -47,3 +47,14 @@ wixFeatures += WindowsFeature(
AddShortCuts(Seq("bin/bitcoin-s-bundle.bat"))
)
)

Universal / mappings += {
// we are using the reference.conf as default application.conf
// the user can override settings here
val conf = (Compile / resourceDirectory).value / "application.conf"
conf -> "conf/application.conf"
}

// add jvm parameter for typesafe config
bashScriptExtraDefines += """addJava "-Dconfig.file=${app_home}/../conf/application.conf""""
batScriptExtraDefines += """addJava "-Dconfig.file=${app_home}/../conf/application.conf""""

0 comments on commit 189c8a7

Please sign in to comment.