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.82k stars 120 forks source link

Detect when databinding or viewbinding are enabled but don't need to be #42

Open autonomousapps opened 4 years ago

autonomousapps commented 4 years ago

A user has reported that the dependency androidx.databinding:databinding-common is reported as unused. This dependency is automatically added (I assume) when dataBinding.isEnabled = true is set. I need to learn which dependencies are added, and if it's possible to determine databinding isn't being used, and so therefore we can accurately recommend it be disabled.

gabrielittner commented 3 years ago

Could this be extended to android resources being enabled on library modules or do you want a separate issue for that?

autonomousapps commented 3 years ago

Separate issue, please. 

On May 7, 2021, GitHub @.***> wrote:

Could this be extended to android resources being enabled on library modules or do you want a separate issue for that?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/autonomousapps/dependency-analysis-android-gradle- plugin/issues/42#issuecomment-834660171, or unsubscribe https://github.com/notifications/unsubscribe- auth/ABJG5PIBH72HNPHRLJ75FBDTMQTLNANCNFSM4KH3IITQ.