Reputation: 1116
I would like to add a data file or a configuration file along with my application (such as sample.conf). This file should be available to user so that he/she can edit the sample configuration to further customize the application.
How can I add such files to my project such that
Or is there any such predefined task available.
Upvotes: 0
Views: 207
Reputation: 26230
SBT Native Packager provides support for doing what you want, though you'll have to dig through the docs a bit. The universal
packager is probably the best approach for you.
http://www.scala-sbt.org/sbt-native-packager/
Upvotes: 1
Reputation: 1
I think what you're looking for is the typesafehub/config https://github.com/typesafehub/config project. It uses the HOCON format (Human Optimized Config Object Notation).
Upvotes: 0