Advertisement
Guest User

Untitled

a guest
Jun 13th, 2014
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. import play.PlayImport.PlayKeys._
  2. import sbt.Keys._
  3. import sbt._
  4.  
  5. object Common {
  6.  
  7. val appSettings = Seq(
  8. version := "1.0" + sys.props("build.number"),
  9. organization := "Organization",
  10. scalaVersion := "2.11.1",
  11. scalaVersion in Test := "2.11.1",
  12. testOptions in Test := Nil,
  13. parallelExecution in Test := false,
  14. scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-Ywarn-adapted-args", "-Xlint")
  15. )
  16.  
  17. val mainAppSettings = Seq(
  18. Keys.fork in Test := false,
  19. routesImport ++= Seq("scala.language.reflectiveCalls"),
  20. unmanagedResourceDirectories in Compile <+= baseDirectory(_ / "app"),
  21. scalacOptions in test += "-Dconfig.file=conf/test.conf -Dlogger.resource=conf/test-logger.xml"
  22. )
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement