File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11enablePlugins(JDKPackagerPlugin , JavaAppPackaging , SolidityPlugin )
22
33import scala .sys .process .Process
4+ import NativePackagerHelper ._
45
56// Necessary for the nix build, please do not remove.
67val nixBuild = sys.props.isDefinedAt(" nix" )
@@ -144,6 +145,10 @@ discoveredMainClasses in Compile := Seq()
144145ThisBuild / jdkPackagerType := " image"
145146
146147Universal / mappings += (resourceDirectory in Compile ).value / " logback.xml" -> " conf/logback.xml"
148+ Universal / mappings += (resourceDirectory in Compile ).value / " application.conf" -> " conf/base.conf"
149+ Universal / mappings ++= directory((resourceDirectory in Compile ).value / " chains" ).map { case (f, name) =>
150+ f -> s " conf/ $name"
151+ }
147152
148153val sep = java.io.File .separator
149154jdkPackagerJVMArgs := Seq (
Original file line number Diff line number Diff line change 11# This is the base configuration file for the Mantis ETC client.
22
3- # This where all the default settings are defined (this file is packaged within the executable) .
3+ # This where all the default settings are defined.
44# It should always go at the top.
5- include "application .conf"
5+ include "base .conf"
You can’t perform that action at this time.
0 commit comments