This is the official Greenfossil Scala library for Typesafe-config-ext.
This library uses sbt as its build tool. It requires at least Java 17 or later to build.
Follow the official guide on how to install sbt.
Create the application.conf file under:
src/main/resources/application.conf
Default configurations can be found in the reference.conf files of the corresponding library.
Configuration keys found in application.conf will override configurations in the reference.conf files.
import com.typesafe.config.DefaultConfig
object Config:
def checkEnv =
val env = DefaultConfig().getString("app.env")
println(s"Current environment is set to: [$env]")
typesafe-config-ext is licensed under the Apache license version 2. See LICENSE.