Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin usage behind artifactory proxy #39

Open
awaizman1 opened this issue Aug 1, 2023 · 2 comments
Open

Plugin usage behind artifactory proxy #39

awaizman1 opened this issue Aug 1, 2023 · 2 comments

Comments

@awaizman1
Copy link

awaizman1 commented Aug 1, 2023

Hi,

In my organization, build machines can't access public internet.
Usually we use on-prem artifactory repository with multiple proxy repos (for dockers, helm, etc.) and configure our build to use this artifactory.

I would like to set up a proxy for foojay disco and configure the plugin root url to this proxy.

Seems like the root url is hard coded within the plugin and this is not possible.

Kindly would you add a configuration option to set the root url?

For example, before gradle 8 it was possible to set in gradle.properties:

org.gradle.jvm.toolchain.install.adoptopenjdk.baseUri=https://<my on-prem artifactory>/.../adoptopenjdk-proxy

Suggestion something like:

toolchainManagement {
  jvm {
    javaRepositories {
      repository('foojay') {
        resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver
        rootUrl = 'https://...'
      }
    }
  }
}

Thanks.

@aleksanderlech
Copy link

Hello, any plans for implementing such possibility in the future?

@jbartok
Copy link
Member

jbartok commented Oct 5, 2023

Thank you for your interest in Gradle!

This feature request is in the backlog of the relevant team, but this area of Gradle is currently not in focus. It might take a while before it gets implemented.


Contributions are welcome though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants