Skip to content

Instantly share code, notes, and snippets.

@jon-ruckwood
Created March 25, 2012 18:02
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 jon-ruckwood/2198681 to your computer and use it in GitHub Desktop.
Save jon-ruckwood/2198681 to your computer and use it in GitHub Desktop.
Example of loading properties using Typesafe's Config project
import com.typesafe.config.ConfigFactory
val conf = ConfigFactory.load()
val accessToken = conf.getString("accessToken")
val accessTokenSecret = conf.getString("accessTokenSecret")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment