Repository navigation
Conversation
aSemy
marked this pull request as draft
November 16, 2026 00:06
Keeps the helpers next to the task, ready for the repo path helper.
Re-publishing a SNAPSHOT renames every file with a new timestamp, so generateDevPublishMetadata always missed the build cache. Track the files without their paths, and add the repo paths, with timestamps replaced by SNAPSHOT, as a separate input. Key the checksum state by the path relative to the repo, since the tracked files' normalised paths no longer include it.
The publications store was shared as a whole, so a removed publication's files stayed there and were copied into the dev repo. Publish tasks now write to their own directories, and publishAllToDevRepo syncs only the current ones into the store.
Only match the modules' own test results instead. action-junit-report makes a separate report from each line of report_paths, so the `!**/build/project-tests/**` line never excluded anything.
aSemy
marked this pull request as ready for review
November 16, 2026 09:45
aSemy
enabled auto-merge
November 16, 2026 09:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
publishAllToDevReposyncs only the current ones.generateDevPublishMetadatais now build-cacheable for SNAPSHOT versions. Re-publishing a SNAPSHOT gives every file a new timestamp, so the task always missed the cache. It now tracks file contents without their paths, and the repo paths, with timestamps replaced bySNAPSHOT, as a separate input.report_paths, so the!**/build/project-tests/**exclusion never worked.New public API:
PublishAllToDevRepoTask, and an emptyGenerateDevPublishMetadataTask.Companion.