aiyanbo / sbt-dependency-updates

⬆️ SBT plugin that can check Maven and Ivy repositories for dependency and plugin updates
Apache License 2.0
81 stars 10 forks source link

[Feature] Ignore certain libraries/plugins #18

Open carlosedp opened 2 years ago

carlosedp commented 2 years ago

It would be great to define a list of libraries or plugins to be ignored.

For example, on VSCode with Metals, it creates a project/metals.sbt file with sbt-bloop as a dependency.It would be nice to ignore it in the report since it's managed by Metals and not me.

aiyanbo commented 2 years ago

@carlosedp How about naming it .checkignore.conf or checkignore.sbt?

carlosedp commented 2 years ago

Scala Steward have a file called .scala-steward.conf in the root, I think we it could be named something like .sbt-dependency-ignores.conf to be clear. Also it could use a similar structure as SS:

updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" }, { groupId = "org.scala-lang", artifactId = "scala3-library" },  { groupId = "ch.epfl.scala", artifactId = "sbt-bloop" } ]

For example.