-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
19 lines (18 loc) · 709 Bytes
/
build.sbt
File metadata and controls
19 lines (18 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import Dependencies._
ThisBuild / scalaVersion := "2.13.16"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.example"
ThisBuild / organizationName := "example"
val sparkVersion = "4.0.1"
libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion// % "provided"
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion// % "provided"
lazy val root = (project in file("."))
.settings(
name := "mySparkProject",
libraryDependencies += munit % Test
)
assembly / mainClass := Some("example.Hello")
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}