Skip to content

Instantly share code, notes, and snippets.

@josep2
Last active January 14, 2019 22:27
Show Gist options
  • Save josep2/a44570d9cabc282212b2462014b1ad8a to your computer and use it in GitHub Desktop.
Save josep2/a44570d9cabc282212b2462014b1ad8a to your computer and use it in GitHub Desktop.
name := "mleap-spark-action"
version := "1.0"
scalaVersion := "2.11.6"
assemblyJarName := "mleap.jar"
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies += "ml.combust.mleap" %% "mleap-spark" % "0.10.0"
libraryDependencies += "ml.combust.mleap" %% "mleap-runtime" % "0.10.0"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.4"
assemblyMergeStrategy in assembly :={
case PathList("org", "apache", "spark", "unused", "UnusedStubClass.class") => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}
// for debugging sbt problems
logLevel := Level.Debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment