Skip to content

Instantly share code, notes, and snippets.

@mkubala
Last active December 24, 2015 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkubala/6241348f141a23074b8f to your computer and use it in GitHub Desktop.
Save mkubala/6241348f141a23074b8f to your computer and use it in GitHub Desktop.
val config = ConfigFactory.load()
config.getString("my.organization.project.name") // => DeathStar
config.getString("my.organization.project.description") // => DeathStar is a tool to take control over whole world. By world I mean couch, computer and fridge ;)
config.getInt("my.organization.team.avgAge") // => 26
config.getStringList("my.organization.team.members") // => [Aneta, Kamil, Lukasz, Marcin]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment