-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
40 lines (36 loc) · 1.24 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
import com.typesafe.tools.mima.core._
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / turbo := true
lazy val zioTestcontainers = project
.in(file("."))
.settings(commonSettings)
.settings(
name := "zio-testcontainers",
libraryDependencies ++= List(
Dependencies.zio,
Dependencies.testcontainers
)
)
.enablePlugins(BuildInfoPlugin)
lazy val commonSettings: List[Def.Setting[_]] = DecentScala.decentScalaSettings ++ List(
organization := "com.github.sideeffffect",
homepage := Some(url("https://github.com/sideeffffect/zio-testcontainers")),
licenses := List("APLv2" -> url("https://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"sideeffffect",
"Ondra Pelech",
url("https://github.com/sideeffffect")
)
),
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
scalacOptions -= "-Xsource:3", // we cross-build for 2.11 too!
missinglinkExcludedDependencies ++= List(
moduleFilter(organization = "org.slf4j", name = "slf4j-api"),
moduleFilter(organization = "org.testcontainers", name = "testcontainers")
),
mimaBinaryIssueFilters ++= List(
)
)
addCommandAlias("ci", "; check; +publishLocal")