-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
42 lines (34 loc) · 1.73 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
name := "github-ranks"
version := "0.1"
scalaVersion := "2.13.6"
val catsEffectVersion = "3.2.3"
val circeVersion = "0.14.1"
val http4sVersion = "1.0.0-M24"
val logbackVersion = "1.2.5"
val pureconfigVersion = "0.16.0"
val scalaLoggingVersion = "3.9.4"
val munitCatsEffectVersion = "1.0.5"
val munitVersion = "0.7.28"
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % logbackVersion,
"com.github.pureconfig" %% "pureconfig" % pureconfigVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-ember-client" % http4sVersion,
"org.http4s" %% "http4s-ember-server" % http4sVersion,
"org.typelevel" %% "cats-effect" % catsEffectVersion,
"com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion,
"org.scalameta" %% "munit" % munitVersion % Test,
"org.typelevel" %% "munit-cats-effect-3" % munitCatsEffectVersion % Test
)
testFrameworks += new TestFramework("munit.Framework")
idePackagePrefix.withRank(KeyRanks.Invisible) := Some("dev.akif.githubranks")
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
enablePlugins(AshScriptPlugin)
Compile / mainClass := Some("dev.akif.githubranks.Main")
dockerBaseImage := "adoptopenjdk/openjdk16:x86_64-alpine-jre-16.0.1_9"
dockerExposedPorts := Seq(8080)