-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
43 lines (30 loc) · 1.17 KB
/
build.sbt
File metadata and controls
43 lines (30 loc) · 1.17 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
// Import for Play2War Plugin
import com.github.play2war.plugin._
name := """HomeworkOrganizer"""
version := "1.1.1"
// Add Play2War settings to project
Play2WarPlugin.play2WarSettings
// Play2War Servlet settings
Play2WarKeys.servletVersion := "3.0"
lazy val root = (project in file(".")).enablePlugins(PlayJava, PlayEbean, SbtWeb)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
"javax.mail" % "mail" % "1.4.5",
"mysql" % "mysql-connector-java" % "5.1.18",
evolutions,
javaJdbc,
cache,
javaWs
)
// Forces compile before Eclipse file generation when running "activator eclipse"
EclipseKeys.preTasks := Seq(compile in Compile)
// Builds Eclipse project with library sources (includes library javadocs, etc.)
EclipseKeys.withSource := true
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
// Sets assets pipeline to run assets through these SBT plugins
pipelineStages := Seq(digest, gzip)
// LESS filters for files in app.assets
includeFilter in (Assets, LessKeys.less) := "*.less"
excludeFilter in (Assets, LessKeys.less) := "_*.less"