Play's configuration uses Typesafe Config. There are several ways of combining configuration together on the classpath and at runtime.
- Creating multiple
application.conf
andapplication.properties
files and putting them all on the classpath (i.e. in different JARs). The configuration will be combined. See Standard Behavior. - Using
include
s to pull in files with different names. - Using substitutions to pull in values from other config files.
- Using substitutions to pull in environment variables or system properties.