This repository has been archived by the owner on Dec 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
53 lines (50 loc) · 1.91 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
import BuildHelper._
inThisBuild(
List(
organization := "dev.zio",
homepage := Some(url("https://github.com/zio/zio-codec/")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer("mijicd", "Dejan Mijic", "[email protected]", url("https://github.com/mijicd")),
Developer(
"sergei-shabanau",
"Sergei Shabanau",
url("https://github.com/sergei-shabanau")
),
Developer("regis-leray", "Regis Leray", "[email protected]", url("https://github.com/regis-leray")),
Developer("soujiro32167", "Eli Kasik", "[email protected]", url("https://github.com/soujiro32167")),
Developer(
"jczuchnowski",
"Jakub Czuchnowski",
url("https://github.com/jczuchnowski")
)
),
pgpPassphrase := sys.env.get("PGP_PASSWORD").map(_.toArray),
pgpPublicRing := file("/tmp/public.asc"),
pgpSecretRing := file("/tmp/secret.asc"),
scmInfo := Some(
ScmInfo(url("https://github.com/zio/zio-codec/"), "scm:git:[email protected]:zio/zio-codec.git")
)
)
)
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("check", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")
lazy val codec =
project
.in(file("."))
.settings(stdSettings("zio-codec"))
.settings(buildInfoSettings("zio.codec"))
.settings(
libraryDependencies ++= Seq(
"org.ow2.asm" % "asm" % "8.0.1",
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test
),
fork in Test := true,
parallelExecution in Test := false,
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))
)
.enablePlugins(BuildInfoPlugin)