Skip to content

Introduce new Gradle tasks for easier index.json updates#837

Merged
kimeta merged 1 commit intooracle:masterfrom
kimeta:mm/infra-gradle-tasks
Dec 3, 2025
Merged

Introduce new Gradle tasks for easier index.json updates#837
kimeta merged 1 commit intooracle:masterfrom
kimeta:mm/infra-gradle-tasks

Conversation

@kimeta
Copy link
Copy Markdown
Collaborator

@kimeta kimeta commented Dec 2, 2025

What does this PR do?

Fixes: #836

This PR adds new functions to MetadataGenerationUtils and registers them as independent tasks. These enhancements allow for more granular and reusable infrastructure update steps within workflows, helping to eliminate redundancy and improve.

Usage:

  • ./gradle addNewEntryTestsIndexJson -Pcoordinates=<maven-coordinates> - adds new entry in the tests/src/index.json for the provided library, if library does not already exist in file.

  • ./gradle addLibraryAsLatestMetadataIndexJson -Pcoordinates=<maven-coordinates> - adds new entry and marks it as latest in the metadata/group/artifact/index.json for the given library coordinates.

@kimeta kimeta force-pushed the mm/infra-gradle-tasks branch 3 times, most recently from 942cfbf to 99e51d5 Compare December 3, 2025 10:19
@kimeta kimeta force-pushed the mm/infra-gradle-tasks branch from 99e51d5 to 3d39295 Compare December 3, 2025 11:47
@vjovanov vjovanov self-requested a review December 3, 2025 13:16
@kimeta kimeta requested a review from jormundur00 December 3, 2025 13:42
@kimeta kimeta merged commit 966c890 into oracle:master Dec 3, 2025
37 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.

Feature: New minor Gradle tasks to enhance AI workflow

2 participants