Skip to content

Add Gradle support to Artifactory-OIDC action - #16

Merged
kostasniktas merged 4 commits into
mainfrom
java_gradle
Aug 27, 2026
Merged

Add Gradle support to Artifactory-OIDC action#16
kostasniktas merged 4 commits into
mainfrom
java_gradle

Conversation

@kostasniktas

Copy link
Copy Markdown
Contributor

Add gradle as an ecosystem to the Artifactory OIDC action.

It does this by introducing a mirror.init.gradle script into ~/.gradle/init.d/. This script will look for code and plugin repositories and replace them with the matching mirror. If no match is found, the script fails and blocks the build.
(https://docs.gradle.org/current/userguide/init_scripts.html#sec:using_an_init_script)

Different from the other ecosystems, the repositories and their URLs are determined by the Gradle script we're adding and not the actual yaml file. The yaml generates the token and places the Gradle script in the right spot.

@kostasniktas
kostasniktas requested review from a team and ryanrishi as code owners August 14, 2026 17:20
@kostasniktas
kostasniktas merged commit f00c14c into main Aug 27, 2026
28 checks passed
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

Successfully merging this pull request may close these issues.

2 participants