Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 1.09 KB
name := "PowerPanel Data Processor"
version := "0.9.0"
scalaVersion := "2.11.12"
enablePlugins(UniversalPlugin)
packageZipTarball in Universal := {
val originalFileName = (packageZipTarball in Universal).value
val (base, ext) = originalFileName.baseAndExt
val newFileName = file(originalFileName.getParent) / (base + ".tar.gz")
IO.move(originalFileName, newFileName)
newFileName
}
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.4.0" % "provided",
"org.apache.spark" %% "spark-streaming" % "2.4.0" % "provided",
"org.apache.spark" %% "spark-streaming-kafka-0-10" % "2.4.0",
"org.apache.kafka" %% "kafka" % "2.0.0",
"org.apache.avro" % "avro" % "1.8.2",
"org.codehaus.jackson" % "jackson-mapper-asl" % "1.9.13",
"joda-time" % "joda-time" % "2.7",
"log4j" % "log4j" % "1.2.14",
"org.apache.httpcomponents" % "httpcore" % "4.4.6" % "provided",
"org.apache.httpcomponents" % "httpclient" % "4.5.3" % "provided"
)
commands += Command.command("packageApp") { state =>
"assembly" ::
"universal:packageZipTarball" ::
state
}
You can’t perform that action at this time.