palantir / gradle-baseline

A set of Gradle plugins that configure default code quality tools for developers.
Apache License 2.0
299 stars 135 forks source link

Document how to enable checkUnusedDependencies #2790

Open ash211 opened 4 months ago

ash211 commented 4 months ago

Before this PR

I mistakenly thought that com.palantir.baseline-exact-dependencies being applied (by default) meant that that check would run checkUnusedDependencies. Actually it does not, and repos wanting this behavior need to opt into it.

After this PR

==COMMIT_MSG== Document how to enable checkUnusedDependencies ==COMMIT_MSG==

This PR documents how repos can do that, so it's an easy copy+paste if desired.

Possible downsides?

None known