To read the application configuration files, we have decided to use Typesafe config: https://github.com/typesafehub/config. It is a mature and well-maintained library, supports various configuration formats, and is quite easy to use. We have included it in our pom.xml file using the following statement:
<dependency> <groupId>com.typesafe</groupId> <artifactId>config</artifactId> <version>${typesafe.config.version}</version></dependency>
The same dependency is added to build.sbt using the following line:
"com.typesafe" % "config" % typesafeConfigVersion