forked from dwickern/sbt-classloader-leak-prevention
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (44 loc) · 1.36 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
organization in ThisBuild := "com.github.dwickern"
val `play-plugin` = project
val `sbt-plugin` = project
val root = (project in file("."))
.settings(publishArtifact := false)
.aggregate(`sbt-plugin`, `play-plugin`)
pomExtra in Global := {
<url>https://github.com/dwickern/sbt-classloader-leak-prevention</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/dwickern/sbt-classloader-leak-prevention.git</connection>
<developerConnection>scm:git:[email protected]:dwickern/sbt-classloader-leak-prevention.git</developerConnection>
<url>github.com/dwickern/sbt-classloader-leak-prevention.git</url>
</scm>
<developers>
<developer>
<id>dwickern</id>
<name>Derek Wickern</name>
<url>https://github.com/dwickern</url>
</developer>
</developers>
}
releaseProcess := {
import ReleaseTransformations._
Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
ReleaseStep(action = Command.process("publishSigned", _), enableCrossBuild = true),
setNextVersion,
commitNextVersion,
ReleaseStep(action = Command.process("sonatypeReleaseAll", _), enableCrossBuild = true),
pushChanges
)
}