-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
51 lines (43 loc) · 1.65 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
val ZIOVersion = "2.0.1"
scalaVersion := "2.13.7"
libraryDependencies := Seq(
"org.scala-lang.modules" %% "scala-xml" % "2.0.1",
"com.fasterxml" % "aalto-xml" % "1.2.2",
"dev.zio" %% "zio" % ZIOVersion,
"dev.zio" %% "zio-streams" % ZIOVersion,
"dev.zio" %% "zio-interop-reactivestreams" % "1.3.5",
"dev.zio" %% "zio-test" % ZIOVersion % "test",
"dev.zio" %% "zio-test-sbt" % ZIOVersion % "test",
)
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
lazy val `zio-xml` = (project in file("."))
ThisBuild / version := "0.2.0"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / organization := "net.ypmania.zioxml"
ThisBuild / organizationName := "Ypmania"
ThisBuild / organizationHomepage := Some(url("https://github.com/jypma/"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/jypma/zio-xml"),
"scm:[email protected]:jypma/zio-xml.git"
)
)
ThisBuild / developers := List(
Developer(
id = "jypma",
name = "Jan Ypma",
email = "[email protected]",
url = url("https://github.com/jypma/")
)
)
ThisBuild / description := "XML streaming directives for ZIO."
ThisBuild / licenses := List("MIT" -> new URL("https://mit-license.org/"))
ThisBuild / homepage := Some(url("https://github.com/jypma/zio-xml"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true