New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dependency-analysis plugin and implement some recommendations #4798
Conversation
These are used widely in the project, but don't indicate a problem that would affect library consumers. Disabling will reduce number of reports.
dependency-analysis recommends changing configuration from "implementation" to "api" since plugins expose detekt-api classes. "compileOnly" is more appropriate as detekt provides detekt-api on the classpath in the environment that the plugin runs in. This also make things consistent with detekt-report-sarif, detekt-report-html, and the various rule sets.
dependency-analysis plugin will otherwise report sarif4k as an "api" dependency which is incorrect.
Codecov Report
@@ Coverage Diff @@
## main #4798 +/- ##
=========================================
Coverage 84.80% 84.80%
Complexity 3480 3480
=========================================
Files 494 494
Lines 11395 11395
Branches 2105 2105
=========================================
Hits 9664 9664
Misses 676 676
Partials 1055 1055
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Can we get this PR ahead?
See commits for details. These issues are reported by the
:buildHealth
task.Not all issues reported by that task were addressed, for various reasons, but these changes seemed sane.