forked from Colisweb/JRubyConcurrentConstantMemoryExcel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
69 lines (56 loc) · 1.97 KB
/
build.sbt
File metadata and controls
69 lines (56 loc) · 1.97 KB
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
import BuildHelper.*
ThisBuild / organization := "com.guizmaii"
ThisBuild / scalaVersion := "3.3.7"
ThisBuild / scalafmtCheck := true
ThisBuild / scalafmtSbtCheck := true
ThisBuild / scalafmtOnCompile := !insideCI.value
ThisBuild / semanticdbEnabled := true
ThisBuild / licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT"))
ThisBuild / homepage := Some(url("https://github.com/guizmaii-opensource/JRubyConcurrentConstantMemoryExcel"))
ThisBuild / developers := List(
Developer(
"guizmaii",
"Jules Ivanic",
"jules.ivanic@gmail.com",
url("https://https://ivanic.hashnode.dev/")
)
)
Global / onChangedBuildSource := ReloadOnSourceChanges
// ### Aliases ###
addCommandAlias("fmt", "scalafmt;scalafixAll")
addCommandAlias("tc", "Test/compile")
addCommandAlias("ctc", "clean; tc")
addCommandAlias("rctc", "reload; ctc")
// ### Dependencies ###
val zioVersion = "2.1.25"
lazy val testKitLibs = Seq(
"dev.zio" %% "zio-test" % zioVersion,
"dev.zio" %% "zio-test-sbt" % zioVersion,
).map(_ % Test)
lazy val poi =
(
(version: String) =>
Seq(
"org.apache.poi" % "poi" % version,
"org.apache.poi" % "poi-ooxml" % version
)
)("4.1.0")
// ### Modules ###
lazy val root =
Project(id = "JRubyConcurrentConstantMemoryExcel", base = file("."))
.settings(noDoc *)
.settings(publish / skip := true)
.settings(crossScalaVersions := Nil) // https://www.scala-sbt.org/1.x/docs/Cross-Build.html#Cross+building+a+project+statefully,
.aggregate(core)
lazy val core =
project
.settings(name := "JRubyConcurrentConstantMemoryExcel")
.settings(stdSettings *)
.settings(
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"io.github.kantan-scala" %% "kantan.csv" % "0.11.0",
"com.github.pathikrit" %% "better-files" % "3.9.2",
) ++ poi ++ testKitLibs,
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework"),
)