3

I created a sbt Plugin, that reads its configuration from a reference.conf.

The test in the Plugin works (can read the `reference.conf).

Wenn I publish the Plugin, there is the reference.conf in the Root of the Jar.

However when running the SBT Task that should use this reference.conf it does not get it.

I use:

ConfigSource.default.loadOrThrow[TemplateConfig]

Reloading the SBT Console did not help.

Is this a restriction of SBT Plugins or do I miss something?

pme
  • 14,156
  • 3
  • 52
  • 95

0 Answers0