-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
53 lines (45 loc) · 2.25 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
import sbt.Keys._
scalaVersion := "2.13.3"
name := """oystr-registry-service"""
version := "v2.1.0"
maintainer := "rafael.silverio.it@gmail.com"
PlayKeys.devSettings := Seq(
"play.server.http.port" -> "10000"
)
updateOptions := updateOptions.value.withLatestSnapshots(true)
Compile / scalaSource := baseDirectory.value / "src/main/java"
Compile / resourceDirectory := baseDirectory.value / "src/main/resources"
Test / scalaSource := baseDirectory.value / "src/test/java"
Test / resourceDirectory := baseDirectory.value / "src/test/resources"
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.jcenterRepo
)
val akkaVersion = "2.6.5"
val sttpVersion = "1.7.2"
val hibernateValidatorVersion = "6.1.5.Final"
val apacheCommonsVersion = "2.6"
libraryDependencies ++= Seq(
ws,
guice,
filters,
"javax.validation" % "validation-api" % "2.0.1.Final",
"org.hibernate.validator" % "hibernate-validator" % hibernateValidatorVersion,
"org.hibernate.validator" % "hibernate-validator-annotation-processor" % hibernateValidatorVersion,
"org.glassfish" % "javax.el" % "3.0.1-b11",
"com.typesafe.akka" % "akka-actor_2.13" % akkaVersion,
"commons-io" % "commons-io" % apacheCommonsVersion,
"commons-lang" % "commons-lang" % apacheCommonsVersion,
"org.asynchttpclient" % "async-http-client" % "2.12.1",
"com.google.guava" % "guava" % "28.2-jre",
"com.google.cloud" % "google-cloud-logging" % "1.100.0",
"org.projectlombok" % "lombok" % "1.18.12",
"io.lettuce" % "lettuce-core" % "6.1.4.RELEASE",
"com.esotericsoftware" % "kryo" % "5.2.0"
)
lazy val root = (project in file("."))
.enablePlugins(PlayJava)
.enablePlugins(DockerPlugin)
topLevelDirectory := None
executableScriptName := "run"
packageName in Universal := "package"