autonomousapps / autonomousapps/dependency-analysis-gradle-plugin

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

Open
#42 2 comments 1 reaction 0 assignees View on GitHub
enhancement toolchain:android
Dominant language
Kotlin
Stars
2.2k
Forks
158
Avg merge
16h 25m
Merged PRs (30d)
46

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the plugin's Android dependency-analysis path and inspect how automatically added androidx.databinding:databinding-common dependencies are classified. Determine which databinding and viewbinding dependencies are added, then establish how the plugin could tell whether those features are unused and what recommendation should be reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.