autonomousapps / autonomousapps/dependency-analysis-gradle-plugin
Provide convenience annotation to exclude classes from dependency analysis report
- Dominant language
- Kotlin
- Stars
- 2.2k
- Forks
- 158
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 46
Description
**Is your feature request related to a problem? Please describe.**
We created an [ExcludeFromDependencyAnalysisReport](https://github.com/agera-edc/DataSpaceConnector/blob/1c377fda716b8538ae982c159396903893073675/extensions/api/api-core/src/main/java/org/eclipse/dataspaceconnector/api/exception/NotAuthorizedException.java#L20) convenience annotation, to exclude certain classes from the analysis report (see [plugin configuration](https://github.com/agera-edc/DataSpaceConnector/blob/1c377fda716b8538ae982c159396903893073675/build.gradle.kts#L287)).
It would be helpful to have such a convenience annotation from a library that works out of the box.
**Describe the solution you'd like**
Provide an annotation to exclude classes from dependency analysis reports. The default configuration should pick this annotation and exclude marked classes.
Contributor guide
Research direction
Start by reviewing the linked ExcludeFromDependencyAnalysisReport annotation in NotAuthorizedException.java and the plugin configuration in build.gradle.kts. Then inspect how the dependency-analysis plugin defines its default exclusions; done means a library-provided annotation is recognized by the default configuration and marked classes are excluded from reports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100