Guilherme Delgado
09/09/2022, 3:43 PMrefreshVersions
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
Vampire
09/09/2022, 9:54 PM--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.Guilherme Delgado
09/10/2022, 12:01 PMGuilherme Delgado
09/10/2022, 12:01 PMGuilherme Delgado
09/10/2022, 12:02 PMGuilherme Delgado
09/10/2022, 12:09 PM