Skip to content

Instantly share code, notes, and snippets.

@djspiewak
Created March 2, 2017 20:16
Show Gist options
  • Save djspiewak/4107ff2dde5270fc67a8e309f47798a0 to your computer and use it in GitHub Desktop.
Save djspiewak/4107ff2dde5270fc67a8e309f47798a0 to your computer and use it in GitHub Desktop.
assemblyExcludedJars in assembly := {
val cp = (fullClasspath in assembly).value
cp filter { af =>
val file = af.data
(file.getName == "scala-library-" + scalaVersion.value + ".jar") &&
(file.getPath contains "org/scala-lang")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment