/
build.sbt
53 lines (45 loc) · 1.33 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
import Dependencies._
lazy val root = (project in file(".")).settings(
inThisBuild(
List(
organization := "be.botkop",
scalaVersion := "2.12.4",
version := "0.1.3"
)),
name := "numsca",
libraryDependencies += "org.nd4j" % "nd4j-native-platform" % "0.9.1",
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.7.2",
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3",
libraryDependencies += scalaTest % Test
)
crossScalaVersions := Seq("2.11.12", "2.12.4")
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(
"BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php"))
homepage := Some(url("https://github.com/botkop"))
scmInfo := Some(
ScmInfo(
url("https://github.com/botkop/numsca"),
"scm:git@github.com:botkop/numsca.git"
)
)
developers := List(
Developer(
id = "botkop",
name = "Koen Dejonghe",
email = "koen@botkop.be",
url = url("http://botkop.be")
)
)
publishMavenStyle := true
publishArtifact in Test := false
// skip in publish := true