-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.sbt
51 lines (38 loc) · 1.8 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
import scala.collection.Seq
ThisBuild / scalaVersion := "2.12.11"
publishAsOSSProject in ThisBuild := true
ThisBuild / githubRepository := "quasar-datasource-azure"
homepage in ThisBuild := Some(url("https://github.com/precog/quasar-datasource-azure"))
scmInfo in ThisBuild := Some(ScmInfo(
url("https://github.com/precog/quasar-datasource-azure"),
"scm:[email protected]:precog/quasar-datasource-azure.git"))
// 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(azure)
val slf4jVersion = "1.7.25"
val specsVersion = "4.8.3"
lazy val azure = project
.in(file("azure"))
.settings(addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"))
.settings(
name := "quasar-datasource-azure",
quasarPluginName := "azure",
quasarPluginQuasarVersion := managedVersions.value("precog-quasar"),
quasarPluginDatasourceFqcn := Some("quasar.physical.blobstore.azure.AzureDatasourceModule$"),
/** Specify managed dependencies here instead of with `libraryDependencies`.
* Do not include quasar libs, they will be included based on the value of
* `datasourceQuasarVersion`.
*/
quasarPluginDependencies ++= Seq(
"com.precog" %% "async-blobstore-azure" % managedVersions.value("precog-async-blobstore"),
"com.precog" %% "quasar-lib-blobstore" % managedVersions.value("precog-quasar-lib-blobstore") % "compile->compile;test->test",
"org.slf4j" % "slf4j-log4j12" % slf4jVersion % Test))
.enablePlugins(QuasarPlugin)
.evictToLocal("QUASAR_PATH", "connector", true)
.evictToLocal("QUASAR_PATH", "api", true)
.evictToLocal("ASYNC_BLOBSTORE_PATH", "gcs", true)
.evictToLocal("BLOBSTORE_PATH", "core", true)