forked from pact-foundation/pact-jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (47 loc) · 1.42 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
sbtPlugin := true
isSnapshot := true
scalaVersion := "2.12.4"
organization := "au.com.dius"
val currentVersion = "3.5.13"
version := currentVersion
libraryDependencies ++= Seq(
"au.com.dius" %% "pact-jvm-provider-scalasupport" % currentVersion,
"ch.qos.logback" % "logback-classic" % "1.2.3"
)
scalacOptions ++= Seq("-deprecation", "-feature")
resolvers += Resolver.mavenLocal
/** Console */
initialCommands in console := "import au.com.dius.pact.provider.sbt._"
useGpg := true
pomIncludeRepository := { _ => false }
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/DiUS/pact-jvm"))
scmInfo := Some(
ScmInfo(
url("https://github.com/DiUS/pact-jvm"),
"scm:[email protected]:DiUS/pact-jvm.git"
)
)
developers := List(
Developer(
id = "rholshausen",
name = "Ronald Holshausen",
email = "[email protected]",
url = url("https://github.com/DiUS/pact-jvm")
),
Developer(
id = "thetrav",
name = "Travis Dixon",
email = "[email protected]",
url = url("https://github.com/DiUS/pact-jvm")
)
)
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false