Created
May 1, 2016 04:16
-
-
Save gavinbaumanis/5b67bd9070bfc0538f61d527e0d9112d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
play.crypto.secret="ChangeMe!" | |
play.i18n.langs = ["en"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Activator-generated Properties | |
#Sun May 01 13:53:05 AEST 2016 | |
template.uuid=15c371e1-78e0-429a-84ff-11b1d09dd4a2 | |
sbt.version=0.13.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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