-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
52 lines (40 loc) · 1.69 KB
/
build.sbt
File metadata and controls
52 lines (40 loc) · 1.69 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
import sbtrelease.ReleasePlugin
lazy val root = (project in file(".")).
settings(ReleasePlugin.releaseSettings : _*).
settings(
name := "mockito-macros",
organization := "org.backuity",
scalaVersion := "2.12.1",
homepage := Some(url("https://github.com/backuity/mockito-macros")),
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")),
scalacOptions ++= Seq("-deprecation", "-unchecked"),
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.3.2",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.mockito" % "mockito-core" % "1.10.8",
"com.novocode" % "junit-interface" % "0.10" % "test",
"org.backuity" %% "matchete-junit" % "1.28.0" % "test",
"junit" % "junit" % "4.10" % "test"),
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 := PgpKeys.publishSigned.value,
pomIncludeRepository := { _ => false },
pomExtra :=
<scm>
<url>git@github.com:backuity/mockito-macros.git</url>
<connection>scm:git:git@github.com:backuity/mockito-macros.git</connection>
</scm>
<developers>
<developer>
<id>backuitist</id>
<name>Bruno Bieth</name>
<url>https://github.com/backuitist</url>
</developer>
</developers>)