-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
36 lines (29 loc) · 909 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
ThisBuild / organization := "io.github.yangzai"
ThisBuild / scalaVersion := "2.12.8"
ThisBuild / crossScalaVersions += "2.11.12"
ThisBuild / wartremoverErrors ++= Warts.all
lazy val core = project in file("suppressor-core") settings(
name := "wartremover-suppressor-core"
)
lazy val contrib = project in file("suppressor-contrib") dependsOn core settings(
name := "wartremover-suppressor-contrib"
)
lazy val root = project in file(".") aggregate(core, contrib) dependsOn core settings(
name := "wartremover-suppressor"
)
import ReleaseTransformations._
releaseCrossBuild := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommandAndRemaining("+publishSigned"),
setNextVersion,
commitNextVersion,
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)