-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
55 lines (52 loc) · 1.65 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
import BuildHelper._
inThisBuild(
List(
name := "ZIO Apache Parquet",
organization := "me.mnedokushev",
homepage := Some(url("https://github.com/grouzen/zio-apache-parquet")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"grouzen",
"Mykhailo Nedokushev",
url("https://github.com/grouzen")
)
),
scmInfo := Some(
ScmInfo(
url("https://github.com/grouzen/zio-apache-parquet"),
"scm:git:[email protected]:grouzen/zio-apache-parquet.git"
)
),
crossScalaVersions := Seq(Scala213, Scala3),
ThisBuild / scalaVersion := 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)
.settings(publish / skip := true)
.settings(
addCommandAlias("fmtAll", "+scalafmtAll; +scalafixAll")
)
lazy val core =
project
.in(file("modules/core"))
.settings(
stdSettings("core"),
libraryDependencies ++= Dep.core,
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
)