This message was deleted.
# community-support
s
This message was deleted.
j
I.e. the version catalog is stored in artifactregistry. The com.google.cloud.artifactregistry.gradle-plugin is required to resolve that dependency.
v
Define the repository in
pluginManagement
block, then apply it in the
plugins
block. Settings plugins are applied bfore the
dependencyResolutionManagement
block is executed.
dependencyResolutionManagement
is not special it is evaluated during normal settings script evaluation phase.
j
It is already defined and applied. I can for instance pull plugins from artifactregstry from within pluginManagement. It only fails in dependencyResolutionMangement.
(I.e. it fails with Not a supported repository protocol 'artifactregistry': valid protocols are [http, https, file, gcs, s3, sftp]) which seems to imply the plugin is indeed not applied properly. 🤷‍♂️
v
From a quick look at the sources of that plugin, only repositories in
pluginManagement
are supported.
j
Thank you for the info. I though I was just configuring it wrong somehow.