0
votes

I'm using sbt-native-packager universalPlugin to create distribution. What I want is to define empty folder while creating distrib in order to fill it with configuration files later (during deploy stage. configuration is managed separately) I tried obvious solution, but it doesn't work:

val confDir = ((baseDirectory.value / "src" / "resources" / "empty"), "conf")
(mappings in Universal).value :+ confDir

Fails with "file does not exist".

How can I create empty directory?

1

1 Answers

1
votes

You can simply create this folder via the universal packaging conventions.

src/universal/conf