Advertisement
ubersoldat

Build.scala

Dec 13th, 2012
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.67 KB | None | 0 0
  1. import sbt._
  2. import Keys._
  3. // 2.0.3 import PlayProject._
  4. import play.Project._
  5.  
  6. object ApplicationBuild extends Build {
  7.  
  8.     val appName         = "test"
  9.     val appVersion      = "1.0-SNAPSHOT"
  10.  
  11.     val appDependencies = Seq(
  12.         javaCore, javaJdbc, javaEbean,
  13.         // more dependencies
  14.         "com.yahoo.platform.yui" % "yuicompressor" % "2.4.7"
  15.     )
  16.  
  17.     // 2.0.3 val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
  18.     val main = play.Project(appName, appVersion, appDependencies).settings(
  19.         resolvers += "Local Maven Repository" at "file:///"+Path.userHome.absolutePath+"/.m2/repository/"
  20.     )
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement