-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.sbt
More file actions
26 lines (18 loc) · 752 Bytes
/
build.sbt
File metadata and controls
26 lines (18 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import play.twirl.sbt.Import.TwirlKeys
name := "play-react"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
"org.webjars" % "react" % "0.11.2",
"org.webjars" % "jquery" % "2.1.1",
"com.typesafe" %% "jse" % "1.1.2",
"io.apigee.trireme" % "trireme" % "0.8.5",
specs2 % Test
)
resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
PublicOnFileSystem.settings
// Add a new template type for streaming templates
TwirlKeys.templateFormats += ("stream" -> "ui.HtmlStreamFormat")
// Add some useful default imports for streaming templates
TwirlKeys.templateImports ++= Vector("_root_.ui.HtmlStream", "_root_.ui.HtmlStream._")