-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
77 lines (51 loc) · 2 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
72
73
74
75
76
77
organization := "fr.iscpif"
name := "mgo"
scalaVersion := "2.11.7"
scalacOptions in (Compile,doc) := Seq("-groups", "-implicits", "-diagrams","-diagrams-max-classes","20")
scalacOptions += "-feature"
crossScalaVersions := Seq("2.10.4", "2.11.4")
resolvers ++= Seq(
"Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
)
libraryDependencies += "com.github.scala-incubator.io" %% "scala-io-core" % "0.4.3"
libraryDependencies += "org.apache.commons" % "commons-math3" % "3.5"
val monocleVersion = "1.0.1"
libraryDependencies += "com.github.julien-truffaut" %% "monocle-core" % monocleVersion
libraryDependencies += "com.github.julien-truffaut" %% "monocle-generic" % monocleVersion
libraryDependencies += "com.github.julien-truffaut" %% "monocle-macro" % monocleVersion
resolvers ++= Seq(
"Sonatype Releases" at "http://oss.sonatype.org/content/repositories/releases"
)
libraryDependencies ++= Seq(
"org.scalanlp" %% "breeze" % "0.10",
"org.scalanlp" %% "breeze-natives" % "0.10"
)
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.12.3" % "test"
testOptions in Test += Tests.Argument(TestFrameworks.ScalaCheck, "-verbosity", "1")
publishMavenStyle := true
publishArtifact in Test := false
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")
}
pomIncludeRepository := { _ => false }
licenses := Seq("Affero GPLv3" -> url("http://www.gnu.org/licenses/"))
homepage := Some(url("https://github.com/openmole/mgo"))
scmInfo := Some(ScmInfo(url("https://github.com/openmole/mgo.git"), "scm:git:[email protected]:openmole/mgo.git"))
pomExtra := (
<developers>
<developer>
<id>romainreuillon</id>
<name>Romain Reuillon</name>
</developer>
<developer>
<id>guillaumecherel</id>
<name>Guillaume Cherel</name>
</developer>
</developers>
)
scalariformSettings
releaseSettings