-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
82 lines (69 loc) · 2.07 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import Dependencies._
ThisBuild / scalaVersion := "2.13.11"
ThisBuild / version := "0.0.1-SNAPSHOT"
ThisBuild / isSnapshot := true
ThisBuild / versionScheme := Some("semver-spec")
resolvers ++= Resolver.sonatypeOssRepos("releases")
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
inThisBuild(
List(
scalaVersion := "2.13.11",
scalafixScalaBinaryVersion := "2.13",
semanticdbEnabled := true,
scalacOptions += "-Wunused:imports",
semanticdbVersion := scalafixSemanticdb.revision
)
)
lazy val root = (project in file("."))
.aggregate(core, derivations, scalaLogging, log4s, log4cats, examples)
lazy val core = (project in file("core"))
.settings(
name := "secure-logging-4s-core",
libraryDependencies ++= Seq(munit % Test)
)
lazy val derivations = (project in file("derivations"))
.settings(
name := "secure-logging-4s-derivations",
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.3.10",
munit % Test
)
)
.dependsOn(core)
lazy val scalaLogging = (project in file("scala-logging"))
.settings(
name := "secure-logging-4s-scala-logging",
libraryDependencies ++= Seq(
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
munit % Test
)
)
.dependsOn(core)
lazy val log4s = (project in file("log4s"))
.settings(
name := "secure-logging-4s-log4s",
libraryDependencies ++= Seq(
"org.log4s" %% "log4s" % "1.10.0",
munit % Test
)
)
.dependsOn(core)
lazy val log4cats = (project in file("log4cats"))
.settings(
name := "secure-logging-4s-log4cats",
libraryDependencies ++= Seq(
"org.typelevel" %% "log4cats-core" % "2.6.0",
"org.typelevel" %% "log4cats-slf4j" % "2.6.0" % Test,
munit % Test
)
)
.dependsOn(core)
lazy val examples = (project in file("examples"))
.settings(
name := "secure-logging-4s-examples",
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.4.7",
"org.typelevel" %% "log4cats-slf4j" % "2.6.0"
)
)
.dependsOn(core, derivations, scalaLogging, log4s, log4cats)