autonomousapps / autonomousapps/dependency-analysis-gradle-plugin

Additional reason information

Open
#1,630 1 comment 0 reactions 0 assignees View on GitHub
enhancement sponsorable
Dominant language
Kotlin
Stars
2.2k
Forks
158
Avg merge
16h 25m
Merged PRs (30d)
46

Description

Would it be possible to print class where the class reference found?

I have reasoning:
```
------------------------------------------------------------
You asked about the dependency 'org.jspecify:jspecify:1.0.0'.
You have been advised to add this dependency to 'implementation'.
------------------------------------------------------------

Shortest path from :core:push-notification to org.jspecify:jspecify:1.0.0 for variantDebugCompileClasspath:
:core:push-notification
\--- androidx.preference:preference:1.2.1
\--- androidx.core:core:1.17.0
\--- org.jspecify:jspecify:1.0.0
...
Source: variantDebug, main
---------------------
* Uses 1 class: org.jspecify.annotations.NonNull (implies compileOnly).
* Provides annotations (implies compileOnly).
```

If I search for import - there is no such. And there are dozens of the `NonNull` in source code. I tried to walk many of them by hand but all of them are Android annotations.

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by tracing the diagnostic output for the dependency path and the reported class usage, then determine where the originating class reference can be added; done means the message identifies the class responsible for the dependency usage and existing diagnostics remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, kotlin
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.