Skip to content

Instantly share code, notes, and snippets.

@mtgto
Created April 8, 2013 16:15
Show Gist options
  • Save mtgto/5338067 to your computer and use it in GitHub Desktop.
Save mtgto/5338067 to your computer and use it in GitHub Desktop.
lazy valを使わないとヌルポ (Play 2.1.1)
import sbt._
import Keys._
import play.Project._
object ApplicationBuild extends Build {
val appName = "test"
val appVersion = "1.0-SNAPSHOT"
/*lazy*/val main = play.Project(appName, appVersion, appDependencies).settings() // cause NullPointerException!
val appDependencies = Seq()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment