-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsonatype.sbt
38 lines (31 loc) · 863 Bytes
/
sonatype.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
//
// For sbt-sonatype
//
organization := "com.eluvio"
publishMavenStyle := true
licenses := Seq("Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
import xerial.sbt.Sonatype._
sonatypeProjectHosting := Some(GitHubHosting("eluvio", "lmdb-je", "Tim Underwood", "[email protected]"))
//
// For sbt-pgp
//
usePgpKeyHex("AB8A8ACD374B4E2FF823BA35553D700D8BD8EF54")
//
// For sbt-release
//
import ReleaseTransformations._
releaseCrossBuild := false // This is *not* a cross-built Scala project. It is Java only.
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommand("publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)