Does includeScala = false remove the scala-library dependency?
vickumar1981 opened this issue · 1 comments
vickumar1981 commented
This might be more of a question than an issue, but does adding the line:
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false, includeDependency = false)
in the build.sbt
, remove the scala-library
as a dependency from the published jar?
My settings:
build.sbt
jodersky commented
This looks like a question for sbt-assembly.
It does indeed, as described in the documentation here https://github.com/sbt/sbt-assembly#excluding-scala-library-jars