Slackbot
06/07/2022, 11:26 AMVampire
06/07/2022, 11:27 AMAndrei Kulik
06/07/2022, 11:29 AMAndrei Kulik
06/07/2022, 11:30 AMAndrei Kulik
06/07/2022, 11:32 AMVampire
06/07/2022, 11:33 AMMeans you haveCopy codeCould not set unknown property 'dependencyResolutionManagement' for settings
dependencyResolutionManagement = ...
in your setting script and there is no valid syntax like thatVampire
06/07/2022, 11:34 AMAndrei Kulik
06/07/2022, 11:35 AMVampire
06/07/2022, 11:53 AMAndrei Kulik
06/07/2022, 12:23 PMA problem occurred evaluating settings ‘service-name’.
> Could not find method dependencyResolutionManagement() for arguments [settings_5gr6kuukez26uvchtedabbm6q$_run_closure1@2612610] on settings ‘service-name’ of type org.gradle.initialization.DefaultSettings
ephemient
06/07/2022, 1:11 PM{}
is all valid - the error means there's something in the closure that Groovy decides makes it not applicable. (one massive benefit of using the Kotlin DSL is that this can't happen)Andrei Kulik
06/07/2022, 1:31 PMVampire
06/07/2022, 2:11 PMAndrei Kulik
06/07/2022, 2:36 PMdependencyResolutionManagement {
versionCatalogs {
libs {
and it's failed with the same error.
I try integrate dependencyResolutionManagement
in a project which already works well with dependencies so I just try to improve dependency control here.
Probably, smt in the build.gradel files affect dependencyResolutionManagement
. Interesting.Vampire
06/07/2022, 2:38 PMversionCatalogs
.Vampire
06/07/2022, 2:38 PMVampire
06/07/2022, 2:38 PM