sbt-dependency-updates icon indicating copy to clipboard operation
sbt-dependency-updates copied to clipboard

[Feature] Ignore certain libraries/plugins

Open carlosedp opened this issue 3 years ago • 2 comments

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.

carlosedp avatar Jul 06 '22 23:07 carlosedp

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

aiyanbo avatar Aug 08 '22 10:08 aiyanbo

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.

carlosedp avatar Aug 08 '22 13:08 carlosedp