Skip to content

Instantly share code, notes, and snippets.

@gavinbaumanis
Created May 1, 2016 04:16
Show Gist options
  • Save gavinbaumanis/5b67bd9070bfc0538f61d527e0d9112d to your computer and use it in GitHub Desktop.
Save gavinbaumanis/5b67bd9070bfc0538f61d527e0d9112d to your computer and use it in GitHub Desktop.
play.crypto.secret="ChangeMe!"
play.i18n.langs = ["en"]
#Activator-generated Properties
#Sun May 01 13:53:05 AEST 2016
template.uuid=15c371e1-78e0-429a-84ff-11b1d09dd4a2
sbt.version=0.13.11
// Common Settings
lazy val commonSettings = Seq(
version := "0.1.0",
scalaVersion := "2.11.8"
)
// Project Specific Settings
lazy val root = (project in file(".")).
// Play MVC frameworkl plug-in
enablePlugins(PlayScala).
settings(commonSettings: _*).
settings(
name := "emr"
)
// Dependency Library locations
resolvers ++= Seq(
"Typesafe repository snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
"Typesafe repository releases" at "http://repo.typesafe.com/typesafe/releases/",
"Sonatype repo" at "https://oss.sonatype.org/content/groups/scala-tools/",
"Sonatype releases" at "https://oss.sonatype.org/content/repositories/releases",
"Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Sonatype staging" at "http://oss.sonatype.org/content/repositories/staging",
"Java.net Maven2 Repository" at "http://download.java.net/maven/2/",
"Twitter Repository" at "http://maven.twttr.com",
"Atlassian Releases" at "https://maven.atlassian.com/public/",
Resolver.bintrayRepo("websudos", "oss-releases")
)
libraryDependencies ++= {
// Set the Silhouette (Authentication Framework) version
val SilhouetteVersion = "3.0.4"
// Create a list of dependencies
Seq(
// Silhouette Authentication framework
"com.mohiva" %% "play-silhouette" % SilhouetteVersion
)
}
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
// Set Java options when running
javaOptions in run += "-Xmx2048m" // we need lots of heap space
// By default parallel execution is disabled and fork is enabled. You can
// change this behaviour by setting parallelExecution in Test and/or fork
// in Test:
parallelExecution in Test := true
fork in Test := true
fork in run := true
// Generate a HTML report of Unit tests.
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "target/generated/test-reports")
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment