-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
40 lines (31 loc) · 1004 Bytes
/
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
ThisBuild / tlBaseVersion := "0.1"
ThisBuild / organization := "org.polyvariant"
ThisBuild / organizationName := "Polyvariant"
ThisBuild / startYear := Some(2022)
ThisBuild / licenses := Seq(License.Apache2)
ThisBuild / developers := List( /* tlGitHubDev() */ )
ThisBuild / tlSonatypeUseLegacyHost := false
def crossPlugin(x: sbt.librarymanagement.ModuleID) = compilerPlugin(x.cross(CrossVersion.full))
val compilerPlugins = List(
crossPlugin("org.polyvariant" % "better-tostring" % "0.3.17")
)
val Scala213 = "2.13.8"
ThisBuild / scalaVersion := Scala213
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / tlFatalWarnings := false
ThisBuild / tlFatalWarningsInCi := false
val commonSettings = Seq(
libraryDependencies ++= compilerPlugins
)
lazy val core = project
.settings(
name := "todo-core",
commonSettings,
)
lazy val root = project
.in(file("."))
.aggregate(core)
.settings(
Compile / doc / sources := Seq()
)
.enablePlugins(NoPublishPlugin)