Skip to content

Commit

Permalink
prep rel 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
koen-dejonghe committed Dec 27, 2018
1 parent 6881ab9 commit 2ecd8b9
Showing 1 changed file with 56 additions and 56 deletions.
112 changes: 56 additions & 56 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
import Dependencies._

lazy val root = (project in file(".")).settings(
inThisBuild(
List(
organization := "be.botkop",
scalaVersion := "2.12.4",
version := "0.1.5-SNAPSHOT"
)),
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")

// 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")
}

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
import Dependencies._

lazy val root = (project in file(".")).settings(
inThisBuild(
List(
organization := "be.botkop",
scalaVersion := "2.12.4",
version := "0.1.5"
)),
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")

// 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")
}

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

0 comments on commit 2ecd8b9

Please sign in to comment.