refreshVersions task incorrectly marks plugin.android as unused in versions.properties
- [x] I have read the guidelines for submitting issues
🐛 Describe the bug
Android Gradle Plugin version gets marked as unused in versions.properties
⚠️ Current behavior
plugin.android gets marked as ## unused:
## unused
plugin.android=7.3.0
✅ Expected behavior
plugin.android correctly gets updates shown for it and does not have an ## unused comment
💣 Steps to reproduce
- Using the New Project wizard in Android Studio Dolphin, create a new Basic Activity project.
- Setup the
refreshVersionsplugin in the project - Run
refreshVersionsMigrate --mode=VersionsPropertiesOnly - Run
refreshVersions
📱 Tech info
- Build Scan URL: https://scans.gradle.com/s/2btew7iahbgqg
Having the same issue..
I've also seen the same happen on another project (not on my machine). If anyone has a clue as to why it's happening, it'd be helpful to fix it.
This happens to me when I have a project with no buildscript block bringing in the android dependency.
I finally got a reproducer thanks to @attila-fazekas https://github.com/Splitties/refreshVersions/issues/700#issuecomment-1694591607
I'm looking into it.