Without the eviction warning it would have just displayed
project-root/build.sbt:1: error: not found: object AssemblyKeys import AssemblyKeys._ ^
and eviction warning actually gives you the hint that there is duplicate plugins.
However, eviction warning (or its replacement that you are proposing) is an sbt feature, not sbt-assembly's so maybe we should discuss that on sbt-dev.
- Perhaps when migrations completely break existing build files in rather strange ways...
Again, this would need to be embedded deep inside sbt's parser, which uses Scala compiler to handle this, but I would give this more thoughts on how we can improve this experience around migration.
Read full article from Cannot upgrade to 0.12.0 - Documentation / bug duplicate plugin files · Issue #139 · sbt/sbt-assembly · GitHub
No comments:
Post a Comment