refreshVersions icon indicating copy to clipboard operation
refreshVersions copied to clipboard

refreshVersions task incorrectly marks plugin.android as unused in versions.properties

Open thederputy opened this issue 3 years ago • 5 comments

🐛 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

  1. Using the New Project wizard in Android Studio Dolphin, create a new Basic Activity project.
  2. Setup the refreshVersions plugin in the project
  3. Run refreshVersionsMigrate --mode=VersionsPropertiesOnly
  4. Run refreshVersions

📱 Tech info

thederputy avatar Sep 22 '22 06:09 thederputy

Having the same issue..

zeroarst avatar Nov 30 '22 12:11 zeroarst

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.

LouisCAD avatar Nov 30 '22 23:11 LouisCAD

This happens to me when I have a project with no buildscript block bringing in the android dependency.

sproctor avatar Jan 24 '23 09:01 sproctor

I finally got a reproducer thanks to @attila-fazekas https://github.com/Splitties/refreshVersions/issues/700#issuecomment-1694591607

I'm looking into it.

LouisCAD avatar Aug 29 '23 00:08 LouisCAD