forked from idio/sbt-assembly-log4j2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
30 lines (29 loc) · 1.03 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
import ReleaseTransformations._
lazy val root = (project in file("."))
.settings(
organization in ThisBuild := "com.github.nomadblacky",
sbtPlugin := true,
name := "sbt-assembly-log4j2",
description := "sbt assembly plugin merge strategy for log4j2 plugins",
licenses := Seq("MIT License" -> url("https://github.com/idio/sbt-assembly-log4j2/blob/master/LICENSE")),
scalacOptions := Seq("-deprecation", "-unchecked"),
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.9"),
libraryDependencies ++= Seq(
"org.apache.logging.log4j" % "log4j-core" % "2.11.2"
),
publishTo := sonatypePublishTo.value,
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _)),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeRelease", _)),
pushChanges
)
)