-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
48 lines (38 loc) · 1.27 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
name := "sbt-jandex"
organization := "software.purpledragon"
enablePlugins(SbtPlugin)
libraryDependencies ++= Seq(
"io.smallrye" % "jandex" % "3.1.1" % Provided,
)
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
}
scriptedBufferLog := false
organizationName := "Michael Stringer"
startYear := Some(2023)
licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt"))
developers := List(
Developer("stringbean", "Michael Stringer", "@the_stringbean", url("https://github.com/stringbean")),
)
homepage := Some(url("https://github.com/stringbean/sbt-jandex"))
scmInfo := Some(
ScmInfo(url("https://github.com/stringbean/sbt-jandex"), "https://github.com/stringbean/sbt-jandex.git"))
publishTo := sonatypePublishToBundle.value
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._
releasePublishArtifactsAction := PgpKeys.publishSigned.value
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
releaseStepInputTask(scripted),
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges,
)