-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (53 loc) · 1.79 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
ThisBuild / tlBaseVersion := "0.2"
ThisBuild / organization := "io.github.arturaz"
ThisBuild / organizationName := "arturaz"
ThisBuild / startYear := Some(2023)
ThisBuild / licenses := Seq(License.MIT)
ThisBuild / developers ++= List(
tlGitHubDev("arturaz", "Artūras Šlajus")
)
ThisBuild / scalaVersion := "3.3.3"
ThisBuild / scalacOptions ++= Seq(
"-language:implicitConversions"
)
ThisBuild / tlSitePublishBranch := Some("main")
// Disable the checks, I don't want to deal with them right now.
ThisBuild / tlCiHeaderCheck := false
ThisBuild / tlCiScalafmtCheck := false
lazy val root = tlCrossRootProject.aggregate(core, tests)
lazy val core = project
.in(file("core"))
.settings(
name := "doobie-typesafe",
description := "Typesafe table definitions for doobie",
libraryDependencies ++= Seq(
// https://mvnrepository.com/artifact/org.tpolecat/doobie-core
"org.tpolecat" %% "doobie-core" % "1.0.0-RC5"
),
)
lazy val tests = project
.in(file("tests"))
.enablePlugins(NoPublishPlugin)
.dependsOn(core)
.settings(
name := "doobie-typesafe-tests",
description := "Tests for doobie-typesafe",
libraryDependencies ++= Seq(
// https://mvnrepository.com/artifact/org.scalameta/munit
"org.scalameta" %% "munit" % "1.0.0-RC1" % Test,
// https://mvnrepository.com/artifact/org.typelevel/munit-cats-effect
"org.typelevel" %% "munit-cats-effect" % "2.0.0-RC1" % Test,
// https://mvnrepository.com/artifact/com.h2database/h2
"com.h2database" % "h2" % "2.2.224" % Test,
),
)
lazy val docs = project
.in(file("site"))
.dependsOn(core)
.enablePlugins(TypelevelSitePlugin)
.settings(
scalacOptions --= Seq(
// Disable unused import warnings for the docs as they report false positives.
"-Wunused:imports",
)
)