-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
37 lines (32 loc) · 924 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
37
import ReleaseTransformations._
lazy val eclipselink = "org.eclipse.persistence" % "org.eclipse.persistence.jpa" % "2.5.1"
lazy val main = (project in file("."))
.settings(
name := "sbt-eclipselink-static-weave",
organization := "com.github.atais",
scalaVersion := "2.12.6",
sbtVersion := "1.1.6",
sbtPlugin := true,
libraryDependencies += eclipselink,
// release settings
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
),
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseStepCommand("publishSigned"),
// setNextVersion,
// commitNextVersion,
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)
)