-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
55 lines (38 loc) · 1.88 KB
/
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
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
organization := "nl.amc.ebioscience"
name := """Rosemary-Vanilla"""
version := "1.2.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.7"
javaOptions ++= Seq("-Xmx2G", "-Xms1G", "-XX:+UseG1GC", "-XX:MaxPermSize=512M", "-XX:+CMSClassUnloadingEnabled")
scalacOptions ++= Seq("-feature","-language:reflectiveCalls")
PlayKeys.playRunHooks <+= baseDirectory.map(base => Gulp(base))
libraryDependencies ++= Seq(
cache,
// ws,
"org.keyczar" % "keyczar" % "0.71h",
"org.mindrot" % "jbcrypt" % "0.4",
"org.kohsuke" % "wordnet-random-name" % "1.3",
"com.github.shayanlinux" %% "play-plugins-salat" % "1.6.0",
"org.apache.lucene" % "lucene-core" % "4.9.1",
"org.apache.lucene" % "lucene-queryparser" % "4.9.1",
"org.apache.lucene" % "lucene-queries" % "4.9.1",
"org.apache.lucene" % "lucene-analyzers-common" % "4.9.1",
"net.databinder.dispatch" %% "dispatch-core" % "0.11.2",
"com.github.lookfirst" % "sardine" % "5.6",
"nl.amc.ebioscience" %% "processing-manager-core" % "2.1-SNAPSHOT",
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
// ebioscience artifactory resolver because org.keyczar.keyczar is not published in maven central yet
resolvers += "ebioscience-artifactory" at "http://dev.ebioscience.amc.nl/artifactory/public"
routesImport += "se.radley.plugin.salat.Binders._"
TwirlKeys.templateImports += "org.bson.types.ObjectId"
// eclipse plugin configurations
EclipseKeys.withSource := true
EclipseKeys.withJavadoc := true
// setting a maintainer which is used for all packaging types
NativePackagerKeys.maintainer := "shayanlinux"
// exposing the play ports
NativePackagerKeys.dockerExposedPorts in Docker := Seq(9000, 9443)
// create image with: sbt docker:publishLocal
// run container with: docker run -p 9000:9000 <name>:<version>