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
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
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