-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
38 lines (30 loc) · 1.05 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
ThisBuild / organization := "org.reactivemongo"
lazy val common = Shaded.commonModule
lazy val nativeOsxX86 = Shaded.nativeModule("osx-x86_64", "kqueue")
lazy val nativeOsxAarch = Shaded.nativeModule("osx-aarch_64", "kqueue")
lazy val linuxX86 = Shaded.nativeModule("linux-x86_64", "epoll")
lazy val linuxAarch = Shaded.nativeModule("linux-aarch_64", "epoll")
lazy val alias = project.in(file("alias")).
settings(Publish.settings ++ Seq(
name := "ReactiveMongo-Alias",
description := "Library mappings (e.g. netty)",
scalaVersion := "2.12.20",
crossScalaVersions := {
val scalaCompatVer = "2.11.12"
Seq(
scalaCompatVer,
scalaVersion.value,
"2.13.14",
"3.4.2"
)
},
libraryDependencies ++= Seq(
"io.netty" % "netty-handler" % Shaded.nettyVer % Provided))
)
lazy val shaded = project.in(file(".")).
settings(
publishArtifact := false,
publishTo := None,
publishLocal := {},
publish := {},
).aggregate(common, nativeOsxX86, nativeOsxAarch, linuxX86, linuxAarch, alias)