-
-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
Milestone
Description
Plugin version
2.19.0
Gradle version
8.12
JDK version
17
(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version
2.1.20
Describe the bug
Found an issue where when a kotlin project depends on a java project, and the only use of the java project is importing an inner static class and using it in code, DAGP reports the dependency is unused. For example I import Inner
and use Inner.CONSTANT
which is not detected but importing Inner.CONSTANT
directly is detected.
To Reproduce
Steps to reproduce the behavior:
- Run
buildHealth
task in dagp-inner-static-class-constant.zip
Expected behavior
No advice should be given