forked from scalanlp/breeze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
54 lines (40 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
organization := "org.scalanlp"
name := "breeze-parent"
lazy val root = project.in( file(".") )
.aggregate(math, natives).dependsOn(math)
lazy val math = project.in( file("math"))
lazy val natives = project.in(file("natives")).dependsOn(math)
lazy val benchmark = project.in(file("benchmark")).dependsOn(math, natives)
scalaVersion := "2.11.1"
crossScalaVersions := Seq("2.11.1", "2.10.3")
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.1.0-M1" cross CrossVersion.full)
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.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 }
pomExtra := (
<url>http://scalanlp.org/</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:dlwh/breeze.git</url>
<connection>scm:git:[email protected]:dlwh/breeze.git</connection>
</scm>
<developers>
<developer>
<id>dlwh</id>
<name>David Hall</name>
<url>http://cs.berkeley.edu/~dlwh/</url>
</developer>
</developers>)