-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.sbt
58 lines (52 loc) · 1.71 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
organization := "org.polynote"
name := "uzhttp"
version := "0.3.0-RC1"
scalaVersion := "2.13.6"
crossScalaVersions := Seq("2.11.12", "2.12.12", "2.13.7", "3.1.0")
ThisBuild / versionScheme := Some("early-semver")
//val zioVersion = "2.0.0-M4+21-503ceef7-SNAPSHOT"
val zioVersion = "2.0.0-RC1"
val sttpClientVersion = "3.3.16"
val scalaTestVersion = "3.2.9"
libraryDependencies := Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-streams" % zioVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % "test",
"dev.zio" %% "zio-test" % zioVersion % "test",
"dev.zio" %% "zio-test-sbt" % zioVersion % "test",
// http client for testing
"com.softwaremill.sttp.client3" %% "core" % sttpClientVersion % "test",
"com.softwaremill.sttp.client3" %% "async-http-client-backend-future" % sttpClientVersion % "test"
)
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
scalacOptions ++= {
if (scalaVersion.value != "3.1.0")
Seq("-deprecation", "-feature", "-Ywarn-value-discard", "-Xfatal-warnings")
else
Seq("-deprecation", "-feature", "-Xfatal-warnings")
}
// publishing settings
publishMavenStyle := true
homepage := Some(url("https://polynote.org"))
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
scmInfo := Some(
ScmInfo(
url("https://github.com/polynote/uzhttp"),
"scm:[email protected]:polynote/uzhttp.git"
)
)
publishTo := sonatypePublishToBundle.value
developers := List(
Developer(
id = "jeremyrsmith",
name = "Jeremy Smith",
email = "",
url = url("https://github.com/jeremyrsmith")
),
Developer(
id = "jonathanindig",
name = "Jonathan Indig",
email = "",
url = url("https://github.com/jonathanindig")
)
)