I have multi-module project under SBT.
Project A
(library) has reference.conf
file with A
's configuration parameters. Project A
depends on akka-actor
library, which ships with its own reference.conf
file. Project A
redefines some akka
's parameters in own reference.conf
.
Project B
depends on A
.
When I call ConfigFactory.load()
in B
, I'm getting wrong order of reference.conf
s merging. It first takes A
's config, then applies akka-actor
's config over it. Eventually, I'm getting initial akka-actor
's configuration.
How can I fix it? I need to get akka-actor
's config loaded first, then my A
's config should be applied over it.