Serhiy Bzhezytskyy created SOLR-18302:
-----------------------------------------
Summary: Adopt the dependency-analysis (build-health) Gradle plugin
Key: SOLR-18302
URL: https://issues.apache.org/jira/browse/SOLR-18302
Project: Solr
Issue Type: Task
Components: Build
Reporter: Serhiy Bzhezytskyy
Follow-up to SOLR-18289 (Gradle 9 upgrade), which removed the old cutterslade
dependency-analysis plugin and deferred re-introducing dependency analysis.
This adds the com.autonomousapps.build-health ("DAGP") plugin, wired into
`check` in report-not-fail mode (severity: warn) so it reports advice without
breaking the build. It also applies the safe, mechanical subset of that advice:
removing genuinely-unused dependencies and correcting a few test-scope
declarations.
The plugin also suggests promoting many dependencies from `implementation` to
`api`. Those are viral/transitive and need case-by-case human judgement, so
they are handled separately (as draft PRs for discussion) rather than applied
wholesale here.
Discussed on the dev@ list as a follow-up to the Gradle 9 work.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]