You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if I have an internal proxy called https://gradle-plugins-proxy.mycorp.com/ that proxies https://plugins.gradle.org/m2/, I need a way to configure that.
Also, this could pollute the buildscript repos for other plugins, so it should use exclusiveContent to limit the scope.
Unclear if it's user error but I also had trouble configuring the maven credentials. Assuming this is because this is an init script? Using env vars rather than gradle properties seems to be a work around.
@bigdaz thanks for the fix, but there may be scenarios where users need maven credentials for this URL. Any suggestions?
No. We have provided similar functionality with all of our Develocity CI integrations, and while PLUGIN_REPOSITORY_URL is part of each, nobody has asked for authentication.
Can you please raise a separate issue for this, with your specific use case?
@yogurtearl I considered adding the exclusiveContent restriction, but from my understanding the buildscript block only applies to the current script, which is applied from an init-script, and won't impact dependency resolution in other scripts.
Have you seen evidence of this sort of repository leakage?
The repository URL used to resolve the `github-dependency-graph-gradle-plugin` is now
configurable, allowing a user to specify an internal proxy if the public portal is not available.
Specify a custom plugin repository using the `GRADLE_PLUGIN_REPOSITORY_URL` env var,
or the `gradle.plugin-repository.url` System property.
Fixes#933
The init script adds this URL with might not be accessible:
"https://plugins.gradle.org/m2/"
gradle-build-action/src/resources/init-scripts/gradle-build-action.github-dependency-graph-gradle-plugin-apply.groovy
Line 3 in 62cce3c
I am requesting a way to configure that repo URL.
For example, if I have an internal proxy called
https://gradle-plugins-proxy.mycorp.com/
that proxieshttps://plugins.gradle.org/m2/
, I need a way to configure that.Also, this could pollute the buildscript repos for other plugins, so it should use
exclusiveContent
to limit the scope.Instead, would be good to have something like:
The text was updated successfully, but these errors were encountered: