-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
69 lines (60 loc) · 1.7 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
val scala3Version = "3.3.3"
val CatsVersion = "2.12.0"
val CatsEffectVersion = "3.5.7"
val WeaverVersion = "0.8.4"
ThisBuild / scalaVersion := scala3Version
ThisBuild / licenses := Seq(
"APL2" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")
)
ThisBuild / homepage := Some(
url("https://github.com/lowmelvin/mini-task")
)
ThisBuild / developers := List(
Developer(
"lowmelvin",
"Melvin Low",
"me@melvinlow.com",
url("https://melvinlow.com")
)
)
ThisBuild / organization := "com.melvinlow"
ThisBuild / organizationName := "Melvin Low"
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
usePgpKeyHex("EA39099104314A0169EA2DC5531F0807E5F7D750")
lazy val root = project
.in(file("."))
.settings(
name := "mini-task",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % CatsVersion,
"org.typelevel" %% "cats-effect" % CatsEffectVersion,
"com.disneystreaming" %% "weaver-cats" % WeaverVersion % Test
),
scalacOptions ++= Seq(
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-Wunused:all",
"-Wvalue-discard",
"-Werror",
"-no-indent",
"-explain",
"-rewrite",
"-source:future-migration"
)
)
lazy val docs = (project in file("mini-task-docs"))
.dependsOn(root)
.enablePlugins(MdocPlugin)
.settings(
mdocIn := file("docs/README.md"),
mdocOut := file("README.md"),
mdocVariables := Map(
"VERSION" -> version.value
)
)