dependency-analysis-gradle-plugin icon indicating copy to clipboard operation
dependency-analysis-gradle-plugin copied to clipboard

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

Open ritesh-singh opened this issue 7 months ago • 2 comments

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 avatar Jan 18 '24 16:01 ritesh-singh

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:

  • testImplementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.21")

ritesh-singh avatar Jan 18 '24 16:01 ritesh-singh

Thanks for the report. Do you have a reproducer?

autonomousapps avatar Feb 22 '24 20:02 autonomousapps