-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
48 lines (40 loc) · 1.82 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
name := "zio-lmdb"
organization := "fr.janalyse"
description := "Lightning Memory Database (LMDB) for scala ZIO"
licenses += "NON-AI-APACHE2" -> url(s"https://github.com/non-ai-licenses/non-ai-licenses/blob/main/NON-AI-APACHE2")
scalaVersion := "3.3.4" // FOR LIBS USE SCALA LTS
crossScalaVersions := Seq("2.13.15", "3.3.4")
lazy val versions = new {
val zio = "2.1.14"
val zionio = "2.0.2"
val ziojson = "0.7.4"
val zioconfig = "4.0.3"
val ziologging = "2.4.0"
val lmdb = "0.9.0"
}
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % versions.zio,
"dev.zio" %% "zio-streams" % versions.zio,
"dev.zio" %% "zio-json" % versions.ziojson,
"dev.zio" %% "zio-config" % versions.zioconfig,
"org.lmdbjava" % "lmdbjava" % versions.lmdb,
"dev.zio" %% "zio-test" % versions.zio % Test,
"dev.zio" %% "zio-logging" % versions.ziologging % Test,
"dev.zio" %% "zio-test-sbt" % versions.zio % Test,
"dev.zio" %% "zio-test-scalacheck" % versions.zio % Test,
"dev.zio" %% "zio-nio" % versions.zionio % Test
)
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
excludeDependencies += "org.scala-lang.modules" % "scala-collection-compat_2.13"
ThisBuild / fork := true
ThisBuild / javaOptions ++= Seq("--add-opens", "java.base/java.nio=ALL-UNNAMED", "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED")
homepage := Some(new URL("https://github.com/dacr/zio-lmdb"))
scmInfo := Some(ScmInfo(url(s"https://github.com/dacr/zio-lmdb.git"), s"git@github.com:dacr/zio-lmdb.git"))
developers := List(
Developer(
id = "dacr",
name = "David Crosson",
email = "crosson.david@gmail.com",
url = url("https://github.com/dacr")
)
)