This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
46 lines (41 loc) · 2.13 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
organization := "com.ovoenergy"
scalaVersion := "2.12.10"
scalacOptions += "-Ypartial-unification"
// The version number is fixed, for the sake of simpler deployment scripts.
// The uploaded docker image will be tagged with the git sha1.
version := "1.0"
resolvers += Resolver.bintrayRepo("ovotech", "maven")
val elastic4sVersion = "7.8.1"
val circeVersion = "0.12.3"
val cirisVersion = "1.0.4"
libraryDependencies ++= Seq(
ws,
filters,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"com.typesafe.akka" %% "akka-slf4j" % "2.5.26",
"org.typelevel" %% "cats-core" % "2.1.0",
"com.gu.play-googleauth" %% "play-v27" % "1.0.6",
"vc.inreach.aws" % "aws-signing-request-interceptor" % "0.0.22",
"com.amazonaws" % "aws-java-sdk-core" % "1.11.657",
"me.moocar" % "logback-gelf" % "0.2",
"is.cir" %% "ciris" % cirisVersion,
"com.ovoenergy" %% "ciris-aws-ssm" % "1.0.0",
"org.scalatest" %% "scalatest" % "3.1.0" % Test,
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % "1.2.3" % Test,
"org.scalacheck" %% "scalacheck" % "1.14.2" % Test,
"com.sksamuel.elastic4s" %% "elastic4s-client-esjava" % elastic4sVersion,
"com.sksamuel.elastic4s" %% "elastic4s-effect-cats" % elastic4sVersion,
"com.sksamuel.elastic4s" %% "elastic4s-json-circe" % elastic4sVersion,
"org.typelevel" %% "cats-tagless-macros" % "0.12"
)
enablePlugins(PlayScala, DockerPlugin)
scalafmtOnCompile in ThisBuild := true
// Docker packaging stuff
dockerBaseImage := "adoptopenjdk:11-jdk-hotspot"
javaOptions in Universal ++= Seq(
// -J params will be added as jvm parameters
"-J-Xmx512m",
"-J-Xms512m"
)
dockerUpdateLatest := false