autonomousapps / autonomousapps/dependency-analysis-gradle-plugin
ComputeUsagesTask taking 30+ minutes to execute when it used to take 30 seconds for the same project
- Dominant language
- Kotlin
- Stars
- 2.2k
- Forks
- 158
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 46
Description
**Build scan link**
I have buildscans on company's internal instance if need info.


**Plugin version**
Seeing in 1.29.0 and 1.30.0
**Gradle version**
8.6
**JDK version**
17
**(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version**
1.9.20
**(Optional) Android Gradle Plugin (AGP) version**
8.1.4
**Describe the bug**
When running `projectHealth`, `ComputeUsagesTask` increased from ~30s to ~40m after upgrading to version 1.29.0 on our main `app` module.
**To Reproduce**
Steps to reproduce the behavior:
1. ...
**Expected behavior**
**Additional context**
Contributor guide
Research direction
Start with ComputeUsagesTask as invoked by projectHealth, using the reported plugin versions 1.29.0 and 1.30.0, Gradle 8.6, JDK 17, Kotlin 1.9.20, and AGP 8.1.4. Compare execution time for the affected app module with the prior roughly 30-second behavior and use the available internal build scans to identify the regression; done means the same project no longer takes about 40 minutes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100