-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
62 lines (46 loc) · 1.66 KB
/
build.sbt
File metadata and controls
62 lines (46 loc) · 1.66 KB
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
name := "puppet-module-installer"
organization := "org.backuity"
scalaVersion := "2.11.4"
homepage := Some(url("https://github.com/backuity/puppet-module-installer"))
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html"))
scalacOptions ++= Seq("-deprecation", "-unchecked")
libraryDependencies ++= Seq(
"org.parboiled" %% "parboiled" % "2.0.1",
"org.backuity" %% "ansi-interpolator" % "1.0" % "provided",
"commons-io" % "commons-io" % "2.4",
"com.github.scopt" %% "scopt" % "3.2.0",
//
// Tests
"org.backuity" %% "matchete" % "1.10" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test",
"org.mockito" % "mockito-core" % "1.10.8" % "test"
)
com.github.retronym.SbtOneJar.oneJarSettings
artifact in (Compile, oneJar) ~= { art =>
art.copy(`classifier` = Some("one-jar"))
}
addArtifact(artifact in (Compile, oneJar), oneJar)
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")
}
// replace publish by publishSigned
publish := com.typesafe.sbt.pgp.PgpKeys.publishSigned.value
pomIncludeRepository := { _ => false }
pomExtra :=
<scm>
<url>git@github.com:backuity/puppet-module-installer.git</url>
<connection>scm:git:git@github.com:backuity/puppet-module-installer.git</connection>
</scm>
<developers>
<developer>
<id>backuitist</id>
<name>Bruno Bieth</name>
<url>https://github.com/backuitist</url>
</developer>
</developers>
releaseSettings