forked from precog/async-blobstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
61 lines (52 loc) · 2.01 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
54
55
56
57
58
59
60
61
import scala.collection.Seq
ThisBuild / publishAsOSSProject := true
homepage in ThisBuild := Some(url("https://github.com/slamdata/async-blobstore"))
scmInfo in ThisBuild := Some(ScmInfo(
url("https://github.com/slamdata/async-blobstore"),
"scm:[email protected]:slamdata/async-blobstore.git"))
val AwsSdkVersion = "2.9.1"
val Fs2Version = "2.2.1"
val MonixVersion = "3.0.0"
// Include to also publish a project's tests
lazy val publishTestsSettings = Seq(
publishArtifact in (Test, packageBin) := true)
lazy val root = project
.in(file("."))
.settings(noPublishSettings)
.aggregate(core, azure, s3)
.enablePlugins(AutomateHeaderPlugin)
lazy val core = project
.in(file("core"))
.settings(addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"))
.settings(
name := "async-blobstore-core",
libraryDependencies ++= Seq(
"com.github.julien-truffaut" %% "monocle-core" % "1.6.0",
"co.fs2" %% "fs2-core" % Fs2Version,
"co.fs2" %% "fs2-reactive-streams" % Fs2Version))
.enablePlugins(AutomateHeaderPlugin)
lazy val s3 = project
.in(file("s3"))
.dependsOn(core)
.settings(addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"))
.settings(
name := "async-blobstore-s3",
libraryDependencies ++= Seq(
"co.fs2" %% "fs2-core" % Fs2Version,
"io.monix" %% "monix-catnap" % MonixVersion,
"software.amazon.awssdk" % "netty-nio-client" % AwsSdkVersion,
"software.amazon.awssdk" % "s3" % AwsSdkVersion))
.enablePlugins(AutomateHeaderPlugin)
lazy val azure = project
.in(file("azure"))
.dependsOn(core)
.settings(addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"))
.settings(
name := "async-blobstore-azure",
libraryDependencies ++= Seq(
"ch.timo-schmid" %% "slf4s-api" % "1.7.26",
"com.microsoft.azure" % "azure-storage-blob" % "10.5.0",
"com.azure" % "azure-identity" % "1.0.0",
"eu.timepit" %% "refined" % "0.9.9",
"io.reactivex.rxjava2" % "rxjava" % "2.2.2"))
.enablePlugins(AutomateHeaderPlugin)