Closed alonsodomin closed 5 years ago
ignore this, it's not a problem in sbt-assembly
or SBT, it must be due to a bad combination of plugins in my build, still trying to debug it yet to find which is the other one that is adding ASM 5.x to the classpath
I saw the same error message when running sbt assembly
in combination with using shading rules and was able to resolve it by updating the jacoco sbt plugin to the latest version.
Trying create an assembly JAR using SBT 1.2.8 and
sbt-assembly
0.14.9 fails with anIllegalArgumentException
when shading some of the dependencies:The reason seems to be related to the fact that there seems to be a mismatch between the version of ASM that SBT has (5.x) and the one that sbt-assembly uses (version 7.x via the
jarjar
lib).Any idea how to fix this or workaround it?