Skip to content

Instantly share code, notes, and snippets.

@mkubala
Last active December 25, 2015 02:59
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/62d68e75db0003c7422b to your computer and use it in GitHub Desktop.
Save mkubala/62d68e75db0003c7422b to your computer and use it in GitHub Desktop.
import scala.collection.JavaConversions._
ConfigFactory.empty()
.withValue("dish.name", ConfigValueFactory.fromAnyRef("Zapiekanka"))
.withValue("dish.estimatedCost", ConfigValueFactory.fromAnyRef(10))
.withValue("dish.ingredients", ConfigValueFactory.fromIterable(
List(
"potato", "bacon", "onion", "salt", "pepper"
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment