-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (36 loc) · 1.26 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
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
val Scala213 = "2.13.7"
ThisBuild / crossScalaVersions := Seq("2.12.15", Scala213, "3.1.0")
ThisBuild / scalaVersion := Scala213
ThisBuild / testFrameworks += new TestFramework("munit.Framework")
val catsV = "2.7.0"
val catsEffectV = "3.3.3"
val munitCatsEffectV = "1.0.7"
// Projects
lazy val `condemned` = project.in(file("."))
.disablePlugins(MimaPlugin)
.enablePlugins(NoPublishPlugin)
.aggregate(core.jvm, core.js)
lazy val core = crossProject(JVMPlatform, JSPlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
name := "condemned",
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-core" % catsV,
"org.typelevel" %%% "cats-effect" % catsEffectV,
"org.typelevel" %%% "munit-cats-effect-3" % munitCatsEffectV % Test,
)
).jsSettings(
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule)},
)
lazy val site = project.in(file("site"))
.disablePlugins(MimaPlugin)
.enablePlugins(DavenverseMicrositePlugin)
.dependsOn(core.jvm)
.settings{
import microsites._
Seq(
micrositeDescription := "Condemned Types",
)
}