forked from naver/yobi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.scala
62 lines (56 loc) · 2.21 KB
/
Build.scala
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import sbt._
import Keys._
import play.Project.javaCore
import play.Project.javaJdbc
import play.Project.javaEbean
import play.Project.templatesImport
import play.Project.lessEntryPoints
object ApplicationBuild extends Build {
val appName = "nforge4"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
// Add your project dependencies here,
javaCore,
javaJdbc,
javaEbean,
// Add your project dependencies here,
"postgresql" % "postgresql" % "9.1-901.jdbc4",
// Core Library
"org.eclipse.jgit" % "org.eclipse.jgit" % "2.3.1.201302201838-r",
// Smart HTTP Servlet
"org.eclipse.jgit" % "org.eclipse.jgit.http.server" % "2.3.1.201302201838-r",
// svnkit
"sonia.svnkit" % "svnkit" % "1.7.5-1",
// svnkit-dav
"sonia.svnkit" % "svnkit-dav" % "1.7.5-1",
// javahl
"org.tmatesoft.svnkit" % "svnkit-javahl" % "1.3.5",
"net.sourceforge.jexcelapi" % "jxl" % "2.6.10",
// shiro
"org.apache.shiro" % "shiro-core" % "1.2.1",
// commons-codec
"commons-codec" % "commons-codec" % "1.2",
// apache-mails
"org.apache.commons" % "commons-email" % "1.2",
"info.schleichardt" %% "play-2-mailplugin" % "0.8",
"commons-lang" % "commons-lang" % "2.6",
"org.apache.tika" % "tika-core" % "1.2",
"commons-io" % "commons-io" % "2.4",
"com.github.julienrf" %% "play-jsmessages" % "1.4.1"
)
val projectSettings = Seq(
// Add your own project settings here
resolvers += "jgit-repository" at "http://download.eclipse.org/jgit/maven",
resolvers += "scm-manager release repository" at "http://maven.scm-manager.org/nexus/content/groups/public",
resolvers += "julienrf.github.com" at "http://julienrf.github.com/repo/",
templatesImport += "models.enumeration._",
lessEntryPoints <<= baseDirectory(_ / "app" / "assets" / "stylesheets" ** "yobi.less"),
// jacoco.settings:_*,
javaOptions in test ++= Seq("-Xmx512m", "-XX:MaxPermSize=512m"),
javacOptions ++= Seq("-Xlint:all", "-Xlint:-path"),
scalacOptions ++= Seq("-feature")
)
val main = play.Project(appName, appVersion, appDependencies).settings(
projectSettings: _*
)
}