autonomousapps / autonomousapps/dependency-analysis-gradle-plugin

`fixDependencies` doesn't work with type-safe accessors

Open
#1,508 3 comments 0 reactions 0 assignees View on GitHub
bug more information needed
Dominant language
Kotlin
Stars
2.2k
Forks
158
Avg merge
16h 25m
Merged PRs (30d)
46

Description

**Build scan link**

**Plugin version**

**Gradle version**

**JDK version**

**(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version**

**(Optional) Android Gradle Plugin (AGP) version**

**(Optional) `reason` output for bugs relating to incorrect advice**

**Describe the bug**

When using the plugin in a project that uses type-safe accessors, although the analysis is performed correctly, the advice produced by the plugin is not type-safe based, so when `fixDependencies` tries to apply it, nothing happens.

**To Reproduce**
Steps to reproduce the behavior:
1. ...

**Expected behavior**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a project using type-safe accessors and trace the fixDependencies entry point. Compare the correctly generated dependency analysis advice with what fixDependencies attempts to apply; done means the generated advice is type-safe and applying it changes the project dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.