Download Sources not working with artifactregistry gradle plugin
Answered
I have a project with Gradle. I use the artifactregistry gradle plugin to be able to add a repository from Google Cloud artifact registry.
When I browse to some decompiled library source code, and then click on the “Download Sources” button at the top of the editor, I get the following error:
FAILURE: Build failed with an exception.
* Where:
Initialization script '/private/var/folders/vq/y84xmm896mg70t5q39474q600000gn/T/ijDownloadSources3.gradle' line: 59
* What went wrong:
A problem occurred configuring root project 'keebo-system'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':resolutionRules'.
> Not a supported repository protocol 'artifactregistry': valid protocols are [file, http, https, gcs, s3, sftp]
I am using IntelliJ IDEA 2023.3.
Please sign in to leave a comment.
Hello, Russell!
Thank you for reporting this!
Does the issue only affect Sources Download? Does the Project Sync and Build successfully?
Would you be able to share a reproducer Project, so we can investigate and resolve this?
Hi Roman,
Correct, the issue only affects sources download, project sync and build are successful.
I'll try to create a reproducer project and share it as soon as I have some time.