JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
98 stars 28 forks source link

Fix shadowing issues #21

Closed romanowski closed 5 years ago

romanowski commented 5 years ago

If build definition contaians sbt assemble (or other plugin depending on pats/jarjar) packagePluginZip sometimes (depdends on file sytem or something) fails with:

[info] Done compiling.
[error] java.lang.NoSuchMethodError: org.pantsbuild.jarjar.JJProcessor.<init>(Lscala/collection/Seq;)V
[error]     at FixJarJar$.doFix(BrokenJarJar.scala:10)
[error]     at $56b8d6d3da71dd14cbdc$.$sbtdef(/home/krzysiek/workspace/contextbuddy/build.sbt:78)
[error]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

This PR fixes the problem.