Skip to content

Improve documentation about "Mirroring the Plugin Portal" #252

@skaluva

Description

@skaluva

We are using our organization jfrog artifactory and we are not supposed to interact with public repos like maven central (MC), gradleplugin portal(GPP) etc directly in build.gradle files. So we created a virtual repo in artifactory which has MC and GPP are mirrored. And also, we are behind proxy and so whitelisted gradle.plugins.org. But plugin download keeps on failing via our artifactory. Couldn't figure out the reason as documentation just says mirror the repository:

https://plugins.gradle.org/docs/mirroring

Later when i tried simple cURL request from our artifactory server, realized its making redirection call to plugins-artifacts.gradle.org to fetch actual plugin contents, which we didn't whitelist in our proxy and so calls are failing. After whitelisting the same, plugin downloads are working fine without any issues.

So my request is please add these redirection details as hints/notes in the documentation so that we will be aware of it instead of banging our heads to figure out the reason. It really helps for people who are behind proxy like us :)

More details can be found here:

https://www.linen.dev/s/gradle-community/t/26864600/i-have-a-project-with-settings-gradle-and-build-gradle-like-#6672ea30-d9dd-4172-99cf-981285c38363

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:documentationImprovements or additions to documentationportal

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions