-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
31 lines (25 loc) · 943 Bytes
/
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
// scalacOptions += "-deprecation"
val shared = Seq(
organization := "com.huawei",
version := "0.1.0",
scalaVersion := "2.13.11",
libraryDependencies += "org.apache.spark" %% "spark-core" % "3.4.0" % "provided",
libraryDependencies += "org.apache.spark" %% "spark-graphx" % "3.4.0" % "provided",
scalacOptions ++= Seq("-deprecation", "-feature"),
Compile/packageBin/artifactPath := baseDirectory.value / ".." / "build" / (name.value + ".jar"),
assemblyPackageScala / assembleArtifact := false,
assembly / assemblyOutputPath := file( s"${baseDirectory.value}/../build/${(assembly/assemblyJarName).value}" )
)
val source: File = file(".")
lazy val graphBLAS = (project in file("graphBLAS"))
.settings(
shared,
name := "graphBLAS"
)
lazy val examples = (project in file("examples"))
.settings(
shared,
name := "examples",
libraryDependencies += "com.github.scopt" %% "scopt" % "4.1.0"
)
.dependsOn(graphBLAS)