-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
49 lines (42 loc) · 1.64 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
import Dependencies._
ThisBuild / scalaVersion := "2.12.9"
ThisBuild / version := "0.2.0-SNAPSHOT"
ThisBuild / organization := "com.github.zella"
ThisBuild / organizationName := "zella"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/zella/rx-process2"),
"scm:[email protected]:zella/rx-process2.git"
)
)
ThisBuild / developers := List(
Developer(
id = "zella",
name = "Andrey Zelyaev",
email = "[email protected]",
url = url("https://github.com/zella")
)
)
ThisBuild / credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org","a","b")
ThisBuild / description := "rx-java2 wrapper for NuProcess"
ThisBuild / licenses := List("MIT" -> new URL("https://opensource.org/licenses/MIT"))
ThisBuild / homepage := Some(url("https://github.com/zella/rx-process2"))
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / 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")
}
ThisBuild / autoScalaLibrary := false
ThisBuild / publishMavenStyle := true
ThisBuild / crossPaths := false
ThisBuild / updateOptions := updateOptions.value.withGigahorse(false)
//ThisBuild / useGpg := true
lazy val root = (project in file("."))
.settings(
name := "rx-process2",
libraryDependencies += "com.zaxxer" % "nuprocess" % "1.2.+",
libraryDependencies += "io.reactivex.rxjava2" % "rxjava" % "2.2.+",
libraryDependencies += "com.github.davidmoten" % "rxjava2-extras" % "0.1.+" % Test,
libraryDependencies += scalaTest % Test
)