-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
71 lines (52 loc) · 2.02 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
61
62
63
64
65
66
67
68
69
70
71
organization := "com.sidemash"
name := "redson"
version := "0.1.0"
javaOptions in run += "-Xdoclint:none"
fork in run := true
scalaVersion := "2.10.5"
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.5.4" withSources() withJavadoc()
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test" withSources() withJavadoc()
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.12.3" % "test" withSources() withJavadoc()
libraryDependencies += "org.specs2" %% "specs2-core" % "3.6" % "test" withSources() withJavadoc()
resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
scalacOptions in Test ++= Seq("-Yrangepos")
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")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
// Alternatives to PomExtra
// licenses := Seq("The MIT License (MIT)" -> url("http://opensource.org/licenses/MIT"))
// homepage := Some(url("https://github.com/sidemash/redson"))
pomExtra := (
<url>https://github.com/sidemash/redson</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:sidemash/redson.git</url>
<connection>scm:git:[email protected]:sidemash/redson.git</connection>
</scm>
<developers>
<developer>
<id>sergenguetta</id>
<name>Serge Martial Nguetta</name>
<url>https://github.com/sergenguetta</url>
</developer>
<developer>
<id>stankoua</id>
<name>Stéphane Tankoua</name>
<url>https://github.com/stankoua</url>
</developer>
</developers>)
// Do not append Scala versions to the generated artifacts
crossPaths := false