forked from kifi/franz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
70 lines (57 loc) · 1.58 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
organization := "com.kifi"
name := "franz"
crossScalaVersions := Seq("2.11.8", "2.12.1")
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"com.amazonaws" % "aws-java-sdk-sqs" % "1.11.83",
"org.slf4j" % "slf4j-api" % "1.7.21"
)
publishMavenStyle := true
publishTo := {
val nexus = "https://nexus.groupl.es/"
if (isSnapshot.value)
Some("snapshots" at nexus + "repository/maven-snapshots")
else
Some("releases" at nexus + "repository/maven-releases")
}
import ReleaseTransformations._
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
publishArtifacts,
setNextVersion,
commitNextVersion,
pushChanges)
credentials += Credentials(Path.userHome / ".ivy2" / ".meweCredentials")
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/FortyTwoEng/franz</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:FortyTwoEng/franz.git</url>
<connection>scm:git:git@github.com:FortyTwoEng/franz.git</connection>
</scm>
<developers>
<developer>
<id>stkem</id>
<name>Stephen Kemmerling</name>
<url>https://github.com/stkem</url>
</developer>
<developer>
<id>marekzebrowski</id>
<name>Marek Żebrowski</name>
<url>https://github.com/marekzebrowski</url>
</developer>
</developers>)