-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
66 lines (59 loc) · 2.38 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
/**
* library dependencies
*/
val vlog4j = "2.9.0"
lazy val log4j_lbs = Seq(
libraryDependencies += "org.apache.logging.log4j" % "log4j-core" % vlog4j withSources() withJavadoc(),
libraryDependencies += "org.apache.logging.log4j" % "log4j-api" % vlog4j withSources() withJavadoc(),
// needed for third party deps...
libraryDependencies += "org.slf4j" % "slf4j-nop" % "1.7.25"
)
// scala test
val vscl_tst = "3.0.1"
lazy val tst_lbs = Seq(
libraryDependencies += "junit" % "junit" % "4.10",
libraryDependencies += "org.scalactic" %% "scalactic" % vscl_tst,
libraryDependencies += "org.scalatest" %% "scalatest" % vscl_tst
)
// scala swing
lazy val swng_lbs = Seq(
libraryDependencies += "org.scala-lang.modules" %% "scala-swing" % "2.0.0"
)
lazy val parq_lbs = Seq(
libraryDependencies += "org.apache.parquet" % "parquet-common" % "1.10.1",
libraryDependencies += "org.apache.parquet" % "parquet-avro" % "1.10.1",
libraryDependencies += "org.apache.parquet" % "parquet-column" % "1.10.1",
libraryDependencies += "org.apache.parquet" % "parquet-arrow" % "1.10.1",
libraryDependencies += "org.apache.parquet" % "parquet-hadoop" % "1.10.1",
libraryDependencies += "org.apache.hadoop" % "hadoop-common" % "3.2.0",
excludeDependencies += "org.slf4j" % "log4j-over-slf4j"
)
//// https://mvnrepository.com/artifact/org.apache.arrow/arrow-memory
//val varrw = "0.16.0"
//lazy val arrw_lbs = Seq(
// libraryDependencies += "org.apache.arrow" % "arrow-vector" % varrw,
// libraryDependencies += "org.apache.arrow" % "arrow-memory" % varrw
//)
/**
* common settings
*/
lazy val cmmn = Seq(
organization := "ik.org",
version := "0.1.0",
scalaVersion := "2.12.18",
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-language:reflectiveCalls", "-language:postfixOps", "-language:implicitConversions", " -language:existentials"),
javaOptions in run += "-Xmx16G",
//javaOptions in run += "-Djava.library.path=/workstem/g3/jvm/lib/linux",
fork := true,
connectInput in run := true,
) ++ log4j_lbs ++ parq_lbs ++ tst_lbs ++ swng_lbs
/**
* project definitions
*/
lazy val util = (project in file("util")).settings(cmmn)
lazy val viz = (project in file("viz")).dependsOn(util).settings(cmmn)
lazy val test = (project in file("test")).dependsOn(viz).settings(cmmn)
/**
* convenient project groupings
*/
lazy val all = (project in file(".")).aggregate(util, viz, test)