-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
76 lines (71 loc) · 2.18 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import BuildHelper._
inThisBuild(
List(
name := "ZIO Apache Arrow",
organization := "me.mnedokushev",
homepage := Some(url("https://github.com/grouzen/zio-apache-arrow")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"grouzen",
"Mykhailo Nedokushev",
"michael.nedokushev@gmail.com",
url("https://github.com/grouzen")
)
),
scmInfo := Some(
ScmInfo(
url("https://github.com/grouzen/zio-apache-arrow"),
"scm:git:git@github.com:grouzen/zio-apache-arrow.git"
)
),
crossScalaVersions := Seq(Scala212, Scala213, Scala3),
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"), JavaSpec.temurin("17")),
githubWorkflowPublishTargetBranches := Seq(),
githubWorkflowBuildPreamble := Seq(
WorkflowStep.Sbt(
List(
"scalafix --check",
"scalafmtCheckAll"
),
name = Some("Lint Scala code")
)
)
)
)
lazy val root =
project
.in(file("."))
.aggregate(core, datafusion)
.settings(publish / skip := true)
lazy val core =
project
.in(file("modules/core"))
.settings(
stdSettings("core"),
libraryDependencies ++= Dep.core,
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)
lazy val datafusion =
project
.in(file("modules/datafusion"))
.dependsOn(core)
.settings(
stdSettings("datafusion"),
libraryDependencies ++= Dep.datafusion,
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)
//lazy val docs =
// project
// .in(file("docs"))
// .dependsOn(core)
// .settings(
// name := "zio-apache-arrow-docs",
// organization := "me.mnedokushev",
// publish / skip := true,
// mdocIn := file("docs/src/main/mdoc"),
// mdocVariables := Map(
// "VERSION" -> version.value
// )
// )
// .enablePlugins(MdocPlugin)