-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.sbt
62 lines (50 loc) · 1.51 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
import Dependencies._
lazy val root = (project in file(".")).settings(
inThisBuild(
List(
organization := "be.botkop",
scalaVersion := "2.13.1",
version := "0.1.7"
)),
name := "numsca",
libraryDependencies += "org.nd4j" % "nd4j-native-platform" % "0.9.1",
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3",
libraryDependencies += scalaTest % Test
)
//crossScalaVersions := Seq("2.11.12", "2.12.11", "2.13.1")
// for instructions on how to publish to sonatype, see:
// https://github.com/xerial/sbt-sonatype
//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")
//}
publishTo := sonatypePublishToBundle.value
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
scalacOptions ++= Seq("-deprecation", "-feature")
fork := true