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

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow sbt-eviction-rules

sbt-eviction-rules Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sbt-eviction-rules!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Browser Extensions and Plugins

Registered

2022-08-24