Skip to content
Permalink
af640d86a0
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
34 lines (28 sloc) 1.04 KB
name := "PowerPanel Data Processor"
version := "0.0.1"
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",
"org.apache.spark" %% "spark-streaming" % "2.4.0",
"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",
"org.apache.httpcomponents" % "httpclient" % "4.5.3"
)
commands += Command.command("packageApp") { state =>
"assembly" ::
"universal:packageZipTarball" ::
state
}