forked from tobnee/DValidation
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
56 lines (41 loc) · 1.35 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
import sbt._
name := "dvalidation"
organization := "com.qvantel"
version := "0.4"
scalaVersion := "2.13.3"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
crossScalaVersions := Seq("2.11.12", "2.12.12", "2.13.3")
resolvers ++= Seq(
Resolver.sonatypeRepo("releases")
)
val scalazVersion = "7.3.2"
libraryDependencies += "org.scalaz" %% "scalaz-core" % scalazVersion % "provided"
libraryDependencies += "org.scalaz" %% "scalaz-scalacheck-binding" % scalazVersion % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "test"
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/qvantel/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]:qvantel/DValidation.git</url>
<connection>scm:git:[email protected]:qvantel/DValidation.git</connection>
</scm>
<developers>
<developer>
<id>tobnee</id>
<name>Tobias Neef</name>
<url>http://atinu.net/</url>
</developer>
</developers>