-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (49 loc) · 1.61 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
val scala213 = "2.13.8"
val scala3 = "3.1.2"
ThisBuild / scalaVersion := scala213
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / organization := "io.github.keirlawson"
lazy val root = (project in file("."))
.settings(
name := "fs2-progress",
libraryDependencies ++= Seq(
"me.tongfei" % "progressbar" % "0.9.3",
"co.fs2" %% "fs2-core" % "3.2.7"
),
crossScalaVersions := List(scala213, scala3),
releaseCrossBuild := true,
git.remoteRepo := "[email protected]:keirlawson/fs2-progress.git",
)
.enablePlugins(GhpagesPlugin)
.enablePlugins(SiteScaladocPlugin)
publishTo := sonatypePublishToBundle.value
publishMavenStyle := true
sonatypeProfileName := "io.github.keirlawson"
sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/keirlawson/fs2-progress"))
scmInfo := Some(
ScmInfo(
url("https://github.com/keirlawson/fs2-progress"),
"scm:[email protected]:keirlawson/fs2-progress.git"
)
)
developers := List(
Developer(id="keirlawson", name="Keir Lawson", email="[email protected]", url=url("https://github.com/keirlawson/"))
)
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)