-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
45 lines (41 loc) · 1.63 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
name := "zio-cassandra"
import Dependencies.V
import sbt.librarymanagement.CrossVersion
import BuildHelper._
inThisBuild(
List(
organization := "st.alzo",
scalaVersion := V.scala2,
crossScalaVersions := V.allScala,
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer("jsfwa", "jsfwa", "[email protected]", url("https://gitlab.com/jsfwa")),
Developer("alzo", "Sergey Rublev", "[email protected]", url("https://github.com/narma/"))
),
scmInfo := Some(ScmInfo(url("https://github.com/narma/zio-cassandra"), "[email protected]:jsfwa/zio-cassandra.git")),
homepage := Some(url("https://github.com/narma/zio-cassandra")),
sonatypeCredentialHost := "s01.oss.sonatype.org"
)
)
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))
def shapelessDeps(scalaVersion: String) = CrossVersion.partialVersion(scalaVersion) match {
case Some((3, _)) => Nil
case _ => Seq("com.chuusai" %% "shapeless" % "2.3.10")
}
lazy val root =
(project in file("."))
.configs(IntegrationTest)
.settings(stdSettings("zio-cassandra"))
.settings(
Defaults.itSettings,
libraryDependencies ++=
Dependencies.cassandraDependencies ++
Dependencies.zioDependencies ++
Dependencies.cache ++
shapelessDeps(scalaVersion.value) ++
Dependencies.testCommon ++
Dependencies.testIntegrationDeps,
Test / parallelExecution := false,
Test / fork := false,
IntegrationTest / fork := true
)