-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
59 lines (55 loc) · 1.66 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
import sbtrelease.ReleaseStateTransformations._
inThisBuild {
val scala212 = "2.12.17"
val scala213 = "2.13.10"
val scala32 = "3.2.2"
Seq(
scalaVersion := scala32,
crossScalaVersions := Seq(scala212, scala213, scala32),
githubWorkflowPublishTargetBranches := Seq.empty,
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
releaseTagName := s"${version.value}"
)
}
lazy val root = (project in file("."))
.settings(
name := "circe-zio-streams",
organization := "io.kaizen-solutions",
organizationName := "kaizen-solutions"
)
.settings(
libraryDependencies ++= {
val circe = "io.circe"
val circeV = "0.14.5"
val zio = "dev.zio"
val zioV = "2.0.13"
Seq(
zio %% "zio-streams" % zioV,
circe %% "circe-jawn" % circeV,
circe %% "circe-generic" % circeV % Test,
zio %% "zio-test" % zioV % Test,
zio %% "zio-test-magnolia" % zioV % Test,
zio %% "zio-test-sbt" % zioV % Test
)
}
)
.settings(
versionScheme := Some("early-semver"),
releaseIgnoreUntrackedFiles := true,
releaseTagName := s"${version.value}",
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
setNextVersion,
commitNextVersion,
pushChanges
),
publishTo := None,
publish := (()),
releaseIgnoreUntrackedFiles := true
)