Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle: removeDependency doesn't remove unused version at libs.versions.toml #10060

Closed
4 tasks done
renanfranca opened this issue Jun 13, 2024 · 0 comments · Fixed by #10191
Closed
4 tasks done

Gradle: removeDependency doesn't remove unused version at libs.versions.toml #10060

renanfranca opened this issue Jun 13, 2024 · 0 comments · Fixed by #10191

Comments

@renanfranca
Copy link
Contributor

renanfranca commented Jun 13, 2024

Following #6977 gradle removeDependency needs to be handled.
I generated the sample app using Gradle build tools. Three versions aren't used anywhere (neither in libs.versions.toml nor in build.gradle.kts):

  • mockito = "5.12.0"
  • assertj = "3.26.0"
  • junit-jupiter = "5.10.2"

TO-DO: Implement safe removal of versions

  • When removing the dependency manager
  • When removing a direct dependency
  • Profile: When removing the dependency manager
  • Profile: When removing a direct dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant