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 1
1
enablePlugins(JDKPackagerPlugin , JavaAppPackaging , SolidityPlugin )
2
2
3
3
import scala .sys .process .Process
4
+ import NativePackagerHelper ._
4
5
5
6
// Necessary for the nix build, please do not remove.
6
7
val nixBuild = sys.props.isDefinedAt(" nix" )
@@ -144,6 +145,10 @@ discoveredMainClasses in Compile := Seq()
144
145
ThisBuild / jdkPackagerType := " image"
145
146
146
147
Universal / 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
+ }
147
152
148
153
val sep = java.io.File .separator
149
154
jdkPackagerJVMArgs := Seq (
Original file line number Diff line number Diff line change 1
1
# This is the base configuration file for the Mantis ETC client.
2
2
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.
4
4
# 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