-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
68 lines (54 loc) · 1.92 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
56
57
58
59
60
61
62
63
64
65
66
67
import com.typesafe.sbt.packager.docker.Cmd
name := """Drops"""
version := "0.36.63"
lazy val root = (project in file(".")).enablePlugins(PlayScala).enablePlugins(DockerPlugin)
scalaVersion := "2.11.7"
resolvers ++= Seq(
"Atlassian Releases" at "https://maven.atlassian.com/public/",
"scalaz-bintray" at "http://dl.bintray.com/scalaz/releases",
Resolver.sonatypeRepo("snapshots")
)
pipelineStages := Seq(digest,gzip)
libraryDependencies ++= Seq(
cache,
filters,
"com.typesafe.play" %% "play-mailer" % "3.0.1",
"com.mohiva" %% "play-silhouette" % "3.0.0",
"org.webjars" %% "webjars-play" % "2.4.0",
"net.codingwell" %% "scala-guice" % "4.0.0",
"net.ceedubs" %% "ficus" % "1.1.2",
"com.adrianhurt" %% "play-bootstrap" % "1.1-P24-B3",
"com.mohiva" %% "play-silhouette-testkit" % "3.0.0" % "test",
"com.nulab-inc" %% "play2-oauth2-provider" % "0.16.1",
"mysql" % "mysql-connector-java" % "5.1.18",
"com.typesafe.play" %% "play-slick" % "1.1.1",
"com.typesafe.play" %% "play-slick-evolutions" % "1.1.1",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.6",
"com.github.tyagihas" % "scala_nats_2.11" % "0.3.0",
"io.nats" % "jnats" % "2.4.2",
specs2 % Test
)
routesGenerator := InjectedRoutesGenerator
scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-deprecation",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-Xlint",
"-Ywarn-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-nullary-override",
"-Ywarn-value-discard",
"-language:reflectiveCalls"
)
//includeFilter in (Assets, LessKeys.less) := "vca.less" // | "bar.less"
includeFilter in (Assets, LessKeys.less) := "*.less"
excludeFilter in (Assets, LessKeys.less) := "_*.less"
// setting a maintainer which is used for all packaging types</pre>
maintainer in Docker := "Johann Sell"
// exposing the play ports
dockerExposedPorts := Seq(9000, 9443)
dockerRepository := Some("vivaconagua")
version in Docker := "latest"