-Evan--
You received this message because you are subscribed to the Google Groups "Spark Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spark-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Spark Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spark-users/pHaF01sPwBo/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to spark-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
import AssemblyKeys._ // put this at the top of the file
name := "Example Project"
version := "0.0.1"
scalaVersion := "2.9.2"
resolvers ++= Seq(
"Akka Repository" at "http://repo.akka.io/releases/",
"Spray Repository" at "http://repo.spray.cc/",
"snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"releases" at "http://oss.sonatype.org/content/repositories/releases"
)
libraryDependencies ++= {
Seq(
"org.scalatest" %% "scalatest" % "1.9.1" % "test",
"org.spark-project" %% "spark-core" % "0.7.0" % "provided",
"com.typesafe" % "config" % "0.3.1",
"org.json4s" %% "json4s-native" % "3.2.2"
)
}
runMain in Compile <<= Defaults.runMainTask(fullClasspath in Compile, runner in (Compile, run))
run in Compile <<= Defaults.runTask(fullClasspath in Compile, mainClass in (Compile, run), runner in (Compile, run))
assemblySettings
assembleArtifact in packageScala := false
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("org", "w3c", xs @ _*) => MergeStrategy.first
case "about.html" => MergeStrategy.discard
case "log4j.properties" => MergeStrategy.concat
case x => old(x)
}
}
test in assembly := {}
Where project/plugins.sbt contains:
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.8")
and using sbt 0.12.3
--
--