forked from zalando-stups/hutmann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (44 loc) · 1.51 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
organization := "org.zalando"
name := """hutmann"""
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
json % "provided",
ws % "provided",
"com.lihaoyi" %% "sourcecode" % "0.1.1"
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.6",
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.0",
"org.scalacheck" %% "scalacheck" % "1.12.5"
) map (_ % "test")
maintainer := "team-kohle@zalando.de"
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
//pom extra info
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomExtra := (
<scm>
<url>git@github.com:zalando-incubator/hutmann.git</url>
<developerConnection>scm:git:git@github.com:zalando-incubator/hutmann.git</developerConnection>
<connection>scm:git:https://github.com/zalando-incubator/hutmann.git</connection>
</scm>
<developers>
<developer>
<name>Lena Brueder</name>
<email>lena.brueder@zalando.de</email>
<url>https://github.com/zalando</url>
</developer>
</developers>)
homepage := Some(url("https://github.com/zalando-incubator/hutmann"))
//settings to compile readme
tutSettings
tutSourceDirectory := baseDirectory.value / "tut"
tutTargetDirectory := baseDirectory.value