An sbt plugin enhancing the evicted key. sbt has been gradually providing these features. As of sbt 1.5.0, all of the features of this plugin are now supported by sbt out of the box. Nevertheless, this plugin can be useful if you are stuck with an old version of sbt. Unlike the default evicted task, the eviction warnings task reports only problematic evictions (ie, libraries that have been evicted by binary incompatible versions). This task turns the eviction warnings into errors. It succeeds only if there are no eviction warnings in your build. You typically want to invoke this task in your CI, to make sure that no pull requests introduce eviction warnings. The recommended versioning scheme in the Scala ecosystem is a (stricter) variant of Semantic Versioning, but not all libraries follow this versioning scheme.
Features
- Makes the output of evicted slightly more readable
- Allows you to easily run eviction checks on your CI
- Allows you to more easily configure evictions that can be ignored (to avoid false positive warnings)
- Module patterns
- The evctionWarnings task reports only problematic evictions
- This plugin can be useful if you are stuck with an old version of sbt