autonomousapps / autonomousapps/dependency-analysis-gradle-plugin
Plugin doesn't suggest to remove ksp plugin and ksp deps
- Dominant language
- Kotlin
- Stars
- 2.2k
- Forks
- 158
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 46
Description
**Plugin version**
2.4.2
**Gradle version**
8.11
**JDK version**
17
**(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version**
2.0.21
**(Optional) Android Gradle Plugin (AGP) version**
8.7.2
**Describe the bug**
I have old module that had ksp plugin applied in plugins block by alias and ksp dep on dagger.compiler. And I know that they are not required more, but plugin doesn't suggest me to remove them
**To Reproduce**
1. create module with ksp lib and dep applied
2. add some code that doesn't use ksp
3. run module:projectHealth
**Expected behavior**
Plugin suggest that I should remove this plugin and dependency
Contributor guide
Research direction
Reproduce the issue with a module that applies KSP by alias and declares the dagger.compiler dependency, then run module:projectHealth. Trace the projectHealth advice for unused plugins and dependencies. Done means the report suggests removing both the unused KSP plugin and dependency when the module contains no KSP-using code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100