-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
61 lines (44 loc) · 1.49 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
name := "dvalidation"
organization := "net.atinu"
version := "0.2"
scalaVersion := "2.11.2"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
crossScalaVersions := Seq("2.11.2", "2.10.4")
resolvers ++= Seq(
Resolver.sonatypeRepo("releases")
)
val scalazVersion = "7.1.0"
libraryDependencies += "org.scalaz" %% "scalaz-core" % scalazVersion % "provided"
libraryDependencies += "org.scalaz" %% "scalaz-scalacheck-binding" % scalazVersion % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.0" % "test"
scoverage.ScoverageSbtPlugin.instrumentSettings
org.scoverage.coveralls.CoverallsPlugin.coverallsSettings
scalariformSettings
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")
}
pomExtra := (
<url>https://github.com/tobnee/DValidation</url>
<licenses>
<license>
<name>Apache 2 license</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:tobnee/DValidation.git</url>
<connection>scm:git:[email protected]:tobnee/DValidation.git</connection>
</scm>
<developers>
<developer>
<id>tobnee</id>
<name>Tobias Neef</name>
<url>http://atinu.net/</url>
</developer>
</developers>)