I want to add an object to the Global scope, and in order to construct it I need to pass it a path to a file. I don\'t want to hard code the file path in the source, and so
As folks have mentioned, Play.application.configuration no longer exists.
Play.application.configuration
In Play Scala 2.3.x, to read a value from conf/application.conf, you can do the following:
conf/application.conf
import play.api.Play.current ... current.configuration.getString("key")