-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
51 lines (45 loc) · 1.18 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
import Dependencies._
name := "ApiChallenge"
version := "0.1"
resolvers += Resolver.sonatypeRepo("snapshots")
resolvers += "jitpack" at "https://jitpack.io"
val root = project
.in(file("."))
.enablePlugins(JavaAppPackaging, AshScriptPlugin, DockerPlugin)
.settings(
name := "ApiChallenge",
version := "0.1.0-SNAPSHOT",
description := "API server with Books and Authors information from NY-Times",
scalaVersion := "2.12.8"
)
libraryDependencies ++= Seq(
Libs.Finagle,
Libs.FinchCore,
Libs.FinchCirce,
Libs.FinchGeneric,
Libs.CirceCore,
Libs.CirceGeneric,
Libs.CirceParser,
Libs.CirceOptics,
Libs.Redis4Cats,
Libs.Refined,
Libs.RefinedCats,
Libs.CatsEffect,
Libs.JodaTime,
Libs.Shapeless,
Libs.FastParse,
Libs.CirceRefined,
Libs.CirceGenericExtras,
Libs.PureConfig,
Libs.FinagleOauth,
Libs.TaglessSecurityCommon,
Libs.TaglessSecurityPassword,
Libs.FinchOauth
)
scalacOptions += "-Ypartial-unification"
dockerBaseImage := "openjdk:jre-alpine"
dockerRepository := Some("thealmikey")
dockerExposedPorts.in(Docker) := Seq(8080)
daemonUser.in(Docker) := "root"
mainClass in Compile := Some("apichallenge.AppServer")
version.in(Docker) := "0.0.4"