autonomousapps / autonomousapps/dependency-analysis-gradle-plugin

FR: Suggest converting an android project to a JVM-only project if possible

Open
#1,163 1 comment 0 reactions 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

**Is your feature request related to a problem? Please describe.**
In some cases, android projects may use no android APIs/features. In these cases, these projects could be converted wholly to JVM projects and offload the work that the comparatively-expensive AGP plugin does.

I think the logic could be:
- No `android.*` APIs used from the Android SDK.
- No android dependencies used.
- No android build features used (buildconfig, viewbinding, compose).
- No android resources defined.

**Describe the solution you'd like**
Advice produced in this case!

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating how the plugin analyzes Android projects and produces advice, then determine how to detect the listed Android APIs, dependencies, build features, and resources; done means eligible projects receive advice to convert to JVM-only projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.