-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
48 lines (44 loc) · 1.53 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
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / turbo := true
ThisBuild / organization := "cz.cvut.fit"
resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
lazy val commonSettings = BuildSettings.common ++ Seq(
libraryDependencies ++= Seq(
Dependencies.pac4j,
Dependencies.pac4jJwt,
Dependencies.circeGeneric,
Dependencies.circeGenericExtras,
Dependencies.circeCore,
Dependencies.circeParser,
Dependencies.deadbolt,
Dependencies.h2Database,
Dependencies.jwt,
Dependencies.jwtCirce,
Dependencies.logbackClassic,
Dependencies.scalaTest % Test,
Dependencies.testContainers % Test,
Dependencies.testContainersPostgres % Test
),
Test / publishArtifact := false
)
lazy val root = project
.in(file("."))
.settings(commonSettings)
.settings(
libraryDependencies ++= Seq(
Dependencies.sstBundleZioHttp4sBlaze,
Dependencies.sstHttp4sClientBlazePureConfig,
Dependencies.sstHttp4sClientMonixCatcap,
Dependencies.sstMonixCatnapPureConfig,
Dependencies.sstDoobieHikariPureConfig,
Dependencies.sstDoobieHikari,
Dependencies.sstFlywayPureConfig,
Dependencies.sstJvm,
Dependencies.sstMicrometerJmxPureConfig,
// Dependencies.doobie
Dependencies.doobieh2
),
name := "tracker-server"
)
addCommandAlias("checkAll", "; scalafmtSbtCheck; scalafmtCheckAll; compile:scalafix --check; test:scalafix --check; test")
addCommandAlias("fixAll", "; compile:scalafix; test:scalafix; scalafmtSbt; scalafmtAll")