-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (41 loc) · 2 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
name := """timeular-cli"""
version := "0.3-SNAPSHOT"
scalaVersion := "2.13.5"
maintainer := "Lena Brüder <[email protected]>"
enablePlugins(JavaAppPackaging)
mainClass in Compile := Some("de.lenabrueder.timeular.Main")
discoveredMainClasses in Compile := Seq()
//TODO: this one needs more configuration and an oracle JDK8
//see https://www.scala-sbt.org/sbt-native-packager/formats/jdkpackager.html
enablePlugins(JDKPackagerPlugin)
val catsVersion = "2.0.0"
val circeVersion = "0.12.3"
val playWsVersion = "2.1.2"
val sttpVersion = "2.0.0-RC5"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-macros" % catsVersion,
"org.typelevel" %% "cats-kernel" % catsVersion,
"org.typelevel" %% "cats-laws" % catsVersion,
"com.chuusai" %% "shapeless" % "2.3.3",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-yaml" % "0.12.0",
"com.softwaremill.sttp.client" %% "core" % sttpVersion,
"com.softwaremill.sttp.client" %% "circe" % sttpVersion,
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"com.github.scopt" %% "scopt" % "4.0.0-RC2",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.typesafe" % "config" % "1.4.0",
"org.apache.poi" % "poi" % "4.1.1" //for editing excel files
)
//test dependencies
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.1.0",
"org.scalacheck" %% "scalacheck" % "1.14.1",
"com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % "1.2.3"
).map(_ % "test")
fork / run := true
dockerBaseImage := "openjdk:11"
dockerUpdateLatest := true