refreshVersions icon indicating copy to clipboard operation
refreshVersions copied to clipboard

version.properties not persisted

Open realdadfish opened this issue 5 years ago • 4 comments

I'm playing around with the task migrateToRefreshVersionsDependenciesConstants and figure if I exit the command loop after I replaced only a few versions, my version.properties file is emptied. I can only see versions popping up there while I'm in the command loop.

Is this desired behaviour? If so, why?

realdadfish avatar Aug 12 '20 11:08 realdadfish

Also, on a totally unrelated note, I've read that you want to concentrate on refreshVersions and skip the support for buildSrc for now. Is there any helper / tool for now to extract the things from versions.properties in buildscript blocks of the main project module? Because there are a couple of dependencies I have that share a common version between runtime dependencies (managed by this plugin) and regular Gradle plugins.

realdadfish avatar Aug 12 '20 14:08 realdadfish

Which version are you using?

LouisCAD avatar Aug 12 '20 19:08 LouisCAD

dependencies-0.5.8

realdadfish avatar Aug 12 '20 21:08 realdadfish

I'm using the latest version (0.9.7) and also seeing the issue with version.properties not being persisted.

While the task is executing I can see the file updating but once I hit exit everything added gets removed.

WhosNickDoglio avatar Nov 08 '20 05:11 WhosNickDoglio

That task is replaced by refreshVersionsMigrate https://jmfayard.github.io/refreshVersions/migrate/

jmfayard avatar Sep 13 '22 22:09 jmfayard