-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
57 lines (52 loc) · 1.52 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
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / organization := "net.wiringbits"
ThisBuild / scalaVersion := "3.3.0"
// For all Sonatype accounts created on or after February 2021
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
inThisBuild(
List(
description := "A collection of WartRemover warts for Scala newbies used by Wiringbits",
homepage := Some(
url("https://github.com/wiringbits/wiringbits-scala-newbie-warts")
),
licenses := List(
"MIT" -> url("https://www.opensource.org/licenses/mit-license.html")
),
developers := List(
Developer(
"AlexITC",
"Alexis Hernandez",
url("https://github.com/AlexITC")
)
)
)
)
lazy val commonSettings = Def.settings(
scalaVersion := "3.3.0",
organization := "net.wiringbits",
libraryDependencies ++= Seq(
"org.wartremover" % "wartremover" % wartremover.Wart.PluginVersion cross CrossVersion.full,
"org.scalatest" %% "scalatest" % "3.2.18" % "test"
)
)
lazy val catsEffectWarts = project
.in(file("cats-effect-warts"))
.settings(
commonSettings,
name := "cats-effect-warts",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-effect" % "3.5.4"
)
)
lazy val root = (project in file("."))
.aggregate(
catsEffectWarts
)
.settings(
name := "wiringbits-scala-warts",
publish := {},
publishLocal := {},
publish / skip := true
)