Does anyone can make <https://github.com/jmfayard/...
# gradle
g
Does anyone can make https://github.com/jmfayard/refreshVersions/ work with Versions Catalog? Following this steps. Every-time I run
refreshVersions
or
refreshVersionsMigrate
(with --debug flag) commands, it throws saying:
Invocation of ‘Task.project’ by task ‘:<command>’ at execution time is unsupported.
Also, if I try to run with
--mode
flag it says
> Unknown command-line option ‘--mode’.
I’m stuck here. The project was created from 0 with Versions Catalog (no versions.properties) and I’m using gradle 7.5.1
v
If
--mode
is not supported, you probably either use a version of that plugin that does not yet support it or you are giving it to the wrong task. It has to be with after the task that defines that option The error about
Task.project
means that you are probably using the incubating configuration cache while that task is not yet compatible.
😅
I thought this was released in 0.40.1 my bad. Let’s try it now 🙂
it works 🥳