Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BenFradet/c2260bce493bd77c1ccca1d4e4c6f6af to your computer and use it in GitHub Desktop.
Save BenFradet/c2260bce493bd77c1ccca1d4e4c6f6af 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") // . instead of / for ivy
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment