-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
48 lines (40 loc) · 2.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
ThisBuild / scalaVersion := "2.13.14"
ThisBuild / crossScalaVersions := Seq("2.13.14", "3.3.3")
ThisBuild / organization := "com.permutive"
ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
addCommandAlias("ci-test", "fix --check; versionPolicyCheck; mdoc; publishLocal; +test")
addCommandAlias("ci-docs", "github; mdoc; headerCreateAll")
addCommandAlias("ci-publish", "versionCheck; github; ci-release")
lazy val documentation = project
.enablePlugins(MdocPlugin)
lazy val `odin-dynamic` = module
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.12.0")
.settings(libraryDependencies += "org.typelevel" %% "kittens" % "3.3.0")
.settings(libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.4")
.settings(libraryDependencies += "com.github.valskalla" %% "odin-core" % "0.13.0")
.settings(libraryDependencies += "org.typelevel" %% "cats-effect-testkit" % "3.5.4" % Test)
.settings(libraryDependencies += "org.typelevel" %% "scalacheck-effect" % "1.0.4" % Test)
.settings(libraryDependencies += "org.typelevel" %% "munit-cats-effect" % "2.0.0" % Test)
.settings(libraryDependencies += "org.scalameta" %% "munit-scalacheck" % "1.0.0" % Test)
.dependsOn(`odin-testing` % "test->compile")
lazy val `odin-testing` = module
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.12.0")
.settings(libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.4")
.settings(libraryDependencies += "com.github.valskalla" %% "odin-core" % "0.13.0")
lazy val `log4cats-odin` = module
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.12.0")
.settings(libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.4")
.settings(libraryDependencies += "org.typelevel" %% "log4cats-core" % "2.7.0")
.settings(libraryDependencies += "com.github.valskalla" %% "odin-core" % "0.13.0")
lazy val `odin-slf4j-bridge` = module
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.12.0")
.settings(libraryDependencies += "org.typelevel" %% "cats-effect" % "3.5.4")
.settings(libraryDependencies += "com.github.valskalla" %% "odin-core" % "0.13.0")
.settings(libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.36") // scala-steward:off
lazy val `odin-slf4j2-bridge` = module
.dependsOn(`odin-slf4j-bridge`)
.settings(libraryDependencies += "org.slf4j" % "slf4j-api" % "2.0.13")
lazy val `odin-slf4j-bridge-benchmarks` = module
.enablePlugins(JmhPlugin)
.dependsOn(`odin-slf4j-bridge`)
.settings(publish / skip := true)