|
1 |
| -import Dependencies._ |
2 |
| - |
3 |
| -lazy val root = (project in file(".")).settings( |
4 |
| - inThisBuild( |
5 |
| - List( |
6 |
| - organization := "be.botkop", |
7 |
| - scalaVersion := "2.12.4", |
8 |
| - version := "0.1.5-SNAPSHOT" |
9 |
| - )), |
10 |
| - name := "numsca", |
11 |
| - libraryDependencies += "org.nd4j" % "nd4j-native-platform" % "0.9.1", |
12 |
| - libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.7.2", |
13 |
| - libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3", |
14 |
| - libraryDependencies += scalaTest % Test |
15 |
| -) |
16 |
| - |
17 |
| -crossScalaVersions := Seq("2.11.12", "2.12.4") |
18 |
| - |
19 |
| -// for instructions on how to publish to sonatype, see: |
20 |
| -// https://github.com/xerial/sbt-sonatype |
21 |
| - |
22 |
| -publishTo := { |
23 |
| - val nexus = "https://oss.sonatype.org/" |
24 |
| - if (isSnapshot.value) |
25 |
| - Some("snapshots" at nexus + "content/repositories/snapshots") |
26 |
| - else |
27 |
| - Some("releases" at nexus + "service/local/staging/deploy/maven2") |
28 |
| -} |
29 |
| - |
30 |
| -pomIncludeRepository := { _ => |
31 |
| - false |
32 |
| -} |
33 |
| - |
34 |
| -licenses := Seq( |
35 |
| - "BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php")) |
36 |
| -homepage := Some(url("https://github.com/botkop")) |
37 |
| - |
38 |
| -scmInfo := Some( |
39 |
| - ScmInfo( |
40 |
| - url("https://github.com/botkop/numsca"), |
41 |
| - "scm:[email protected]:botkop/numsca.git" |
42 |
| - ) |
43 |
| -) |
44 |
| - |
45 |
| -developers := List( |
46 |
| - Developer( |
47 |
| - id = "botkop", |
48 |
| - name = "Koen Dejonghe", |
49 |
| - |
50 |
| - url = url("http://botkop.be") |
51 |
| - ) |
52 |
| -) |
53 |
| - |
54 |
| -publishMavenStyle := true |
55 |
| -publishArtifact in Test := false |
56 |
| -// skip in publish := true |
| 1 | +import Dependencies._ |
| 2 | + |
| 3 | +lazy val root = (project in file(".")).settings( |
| 4 | + inThisBuild( |
| 5 | + List( |
| 6 | + organization := "be.botkop", |
| 7 | + scalaVersion := "2.12.4", |
| 8 | + version := "0.1.5" |
| 9 | + )), |
| 10 | + name := "numsca", |
| 11 | + libraryDependencies += "org.nd4j" % "nd4j-native-platform" % "0.9.1", |
| 12 | + libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.7.2", |
| 13 | + libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3", |
| 14 | + libraryDependencies += scalaTest % Test |
| 15 | +) |
| 16 | + |
| 17 | +crossScalaVersions := Seq("2.11.12", "2.12.4") |
| 18 | + |
| 19 | +// for instructions on how to publish to sonatype, see: |
| 20 | +// https://github.com/xerial/sbt-sonatype |
| 21 | + |
| 22 | +publishTo := { |
| 23 | + val nexus = "https://oss.sonatype.org/" |
| 24 | + if (isSnapshot.value) |
| 25 | + Some("snapshots" at nexus + "content/repositories/snapshots") |
| 26 | + else |
| 27 | + Some("releases" at nexus + "service/local/staging/deploy/maven2") |
| 28 | +} |
| 29 | + |
| 30 | +pomIncludeRepository := { _ => |
| 31 | + false |
| 32 | +} |
| 33 | + |
| 34 | +licenses := Seq( |
| 35 | + "BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php")) |
| 36 | +homepage := Some(url("https://github.com/botkop")) |
| 37 | + |
| 38 | +scmInfo := Some( |
| 39 | + ScmInfo( |
| 40 | + url("https://github.com/botkop/numsca"), |
| 41 | + "scm:[email protected]:botkop/numsca.git" |
| 42 | + ) |
| 43 | +) |
| 44 | + |
| 45 | +developers := List( |
| 46 | + Developer( |
| 47 | + id = "botkop", |
| 48 | + name = "Koen Dejonghe", |
| 49 | + |
| 50 | + url = url("http://botkop.be") |
| 51 | + ) |
| 52 | +) |
| 53 | + |
| 54 | +publishMavenStyle := true |
| 55 | +publishArtifact in Test := false |
| 56 | +// skip in publish := true |
0 commit comments