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
Shortest path from :shared:video-player to androidx.lifecycle:lifecycle-runtime-ktx:2.8.6 (libs.androidx.lifecycle.runtime) for nowsecureReleaseUnitTestRuntimeClasspath:
:shared:video-player
\--- androidx.lifecycle:lifecycle-runtime-ktx:2.8.6
Source: developDebug, main
--------------------------
(no usages)
Describe the bug
The ktx dependency is proposed to be removed and the normal dependency is proposed to be added even we have
Plugin version 2.1.4
Gradle version 8.10.2
JDK version 23
(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version 2.0.20
(Optional) Android Gradle Plugin (AGP) version 8.6.2
(Optional)
reason
output for bugs relating to incorrect advice./gradlew sha:vide:reason --id androidx.lifecycle:lifecycle-runtime:2.8.6
./gradlew sha:vide:reason --id libs.androidx.lifecycle.runtime
Describe the bug The ktx dependency is proposed to be removed and the normal dependency is proposed to be added even we have
In the root folder.
Expected behavior
ignoreKtx
is respectedAdditional context Plugin is applied in root folder and then applied in every module. The
ignoreKts
is applied in the root file.