Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 13th, 2014  |  syntax: None  |  size: 0.75 KB  |  views: 250  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data