forked from jamesward/play-angular-require-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
30 lines (22 loc) · 948 Bytes
/
build.sbt
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
27
28
29
30
import play.Project._
name := "play-angular-require-seed"
version := "2.2.2"
libraryDependencies ++= Seq(
// WebJars infrastructure
"org.webjars" % "webjars-locator" % "0.13",
"org.webjars" %% "webjars-play" % "2.2.1-2",
// WebJars dependencies
"org.webjars" % "underscorejs" % "1.6.0-1",
"org.webjars" % "jquery" % "1.11.0-1",
"org.webjars" % "bootstrap" % "3.1.1" exclude("org.webjars", "jquery"),
"org.webjars" % "angularjs" % "1.2.14" exclude("org.webjars", "jquery")
)
playScalaSettings
resolvers += "typesafe" at "http://repo.typesafe.com/typesafe/repo"
// This tells Play to optimize this file and its dependencies
requireJs += "main.js"
// The main config file
// See http://requirejs.org/docs/optimization.html#mainConfigFile
requireJsShim := "build.js"
// To completely override the optimization process, use this config option:
//requireNativePath := Some("node r.js -o name=main out=javascript-min/main.min.js")