autonomousapps / dependency-analysis-gradle-plugin

Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Apache License 2.0
1.67k stars 115 forks source link

Running into - testImplementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.21") - unused dependency #1106

Open ritesh-singh opened 5 months ago

ritesh-singh commented 5 months ago

Build scan link

Plugin version Latest - 1.29.0

Gradle version 8.5

JDK version 17

(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version 1.9.21

(Optional) Android Gradle Plugin (AGP) version 8.2.0

(Optional) reason output for bugs relating to incorrect advice

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. ...

Expected behavior

Additional context

ritesh-singh commented 5 months ago

I see fix in latest release release

https://github.com/autonomousapps/dependency-analysis-gradle-plugin/blob/main/CHANGELOG.md#version-1290 [Fix] Don't leak Kotlin stdlib from shaded dependencies.

But, i am still running into

Unused dependencies which should be removed from module :y:

autonomousapps commented 4 months ago

Thanks for the report. Do you have a reproducer?