forked from pashashiz/scanet3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (36 loc) · 1.55 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
name := "scanet3"
version := "0.1"
scalaVersion := "2.12.14"
resolvers ++= Seq("sonatype-snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
addCommandAlias("testFast", "testOnly -- -l org.scalatest.tags.Slow")
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)
// scalacOptions += "-Ymacro-annotations" // NOTE: uncomment with scala 2.13 again
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % "2.12.14", // NOTE: remove with scala 2.13
"org.typelevel" %% "simulacrum" % "1.0.0",
"org.tensorflow" % "tensorflow-core-platform" % "0.3.2",
"com.google.guava" % "guava" % "29.0-jre", // NOTE: needed for crc32c only, need to reimplement and remove the dependency
"org.apache.spark" %% "spark-core" % "3.1.2",
"org.apache.spark" %% "spark-sql" % "3.1.2",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.4",
"ch.qos.logback" % "logback-classic" % "1.2.10",
"org.scalacheck" %% "scalacheck" % "1.15.4" % "test",
"org.scalatest" %% "scalatest" % "3.2.9" % "test"
)
scalacOptions ++= Seq(
"-Xlint",
"-deprecation",
"-Ypartial-unification",
"-Ywarn-unused:params,-implicits",
"-feature",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials"
)
Test / parallelExecution := false
Test / testOptions ++= Seq(
Tests.Argument(TestFrameworks.ScalaTest, "-oD"),
Tests.Argument(TestFrameworks.ScalaTest, "-oF")
)
Test / fork := true
javaOptions ++= Seq("-Xms512M", "-Xmx2048M", "-XX:+CMSClassUnloadingEnabled")