/
build.sbt
46 lines (36 loc) · 1.3 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
addCommandAlias("makeSite", "docs/makeSite")
addCommandAlias("console", "datasource/console")
lazy val root = project
.in(file("."))
.withId("RasterFrames")
.aggregate(core, datasource, pyrasterframes, experimental)
.settings(publish / skip := true)
.settings(releaseSettings)
lazy val deployment = project
.dependsOn(root)
.disablePlugins(SparkPackagePlugin)
lazy val IntegrationTest = config("it") extend Test
lazy val core = project
.configs(IntegrationTest)
.settings(inConfig(IntegrationTest)(Defaults.testSettings))
.settings(Defaults.itSettings)
.disablePlugins(SparkPackagePlugin)
lazy val pyrasterframes = project
.dependsOn(core, datasource, experimental)
.settings(assemblySettings)
lazy val datasource = project
.dependsOn(core % "test->test;compile->compile")
.disablePlugins(SparkPackagePlugin)
lazy val experimental = project
.configs(IntegrationTest)
.settings(Defaults.itSettings)
.dependsOn(core % "test->test;it->test;compile->compile")
.dependsOn(datasource % "test->test;it->test;compile->compile")
.disablePlugins(SparkPackagePlugin)
lazy val docs = project
.dependsOn(core, datasource)
.disablePlugins(SparkPackagePlugin)
lazy val bench = project
.dependsOn(core % "compile->test")
.disablePlugins(SparkPackagePlugin)
.settings(publish / skip := true)