-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
45 lines (39 loc) · 1.59 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
/*
* PDD is a platform for privacy-preserving Web searches collection.
* Copyright (C) 2016-2018 Vincent Primault <v.primault@ucl.ac.uk>
*
* PDD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PDD is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PDD. If not, see <http://www.gnu.org/licenses/>.
*/
name := "pdd-server"
version := "0.0.1"
organization := "ucl"
scalaVersion := "2.12.6"
resolvers += Resolver.mavenLocal
libraryDependencies ++= Seq(
"com.twitter" %% "finatra-http" % "18.11.0",
"com.twitter" %% "finagle-mysql" % "18.11.0",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"io.sentry" % "sentry-logback" % "1.6.4",
"com.datadoghq" % "java-dogstatsd-client" % "2.5",
"com.github.nscala-time" %% "nscala-time" % "2.14.0",
"com.maxmind.geoip2" % "geoip2" % "2.12.0",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
)
mainClass in(Compile, run) := Some("ucl.pdd.server.PddServerMain")
// Docker configuration.
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
dockerUsername in Docker := Some("pddisense")
dockerAliases ++= Seq(dockerAlias.value.withTag(Option("latest")))
dockerExposedPorts in Docker := Seq(8000, 9990)