-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
executable file
·52 lines (44 loc) · 1.4 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
import scala.xml.transform.{RewriteRule, RuleTransformer}
import Dependencies._
ThisBuild / scalaVersion := "2.13.4"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "org.sciscala"
ThisBuild / organizationName := "sciscala"
val commonDeps = csvParser ++ scalaTest ++ spire ++ simulacrum ++ json
lazy val root = (project in file("."))
.aggregate(common, core, arrow)
//.settings(settings)
lazy val common = project.settings(
name := "common",
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
Resolver.bintrayRepo("zamblauskas", "maven")
),
libraryDependencies ++= commonDeps
)
lazy val core = (project in file("core"))
.settings(
name := "simpledf-core",
scalacOptions += "-Ymacro-annotations",
libraryDependencies ++= commonDeps
)
.dependsOn(common)
lazy val arrow = (project in file("arrow"))
.dependsOn(core)
.settings(
name := "simpledf-arrow",
scalacOptions += "-Ymacro-annotations",
libraryDependencies ++= ("org.apache.arrow" % "arrow-vector" % "0.17.1" +: commonDeps)
)
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-unchecked",
"-language:postfixOps",
"-language:higherKinds",
"-Ymacro-annotations",
//"-Ypartial-unification",
"-Ywarn-unused-import",
"-Wvalue-discard",
)
//addCompilerPlugin("org.typelevel" % "kind-projector" % "0.11.3" cross CrossVersion.full)