feat: make plugin tasks cacheable and relocatable#378
Closed
timothyfroehlich wants to merge 1 commit intoci-infra-updatefrom
Closed
feat: make plugin tasks cacheable and relocatable#378timothyfroehlich wants to merge 1 commit intoci-infra-updatefrom
timothyfroehlich wants to merge 1 commit intoci-infra-updatefrom
Conversation
9ce778d to
fc60701
Compare
This was referenced Mar 9, 2026
fc60701 to
5b8301d
Compare
5b8301d to
36a28dc
Compare
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.
Based on PR #379
Chain of upstream PRs & tree of downstream PRs as of 2026-03-10
PR ci: run workflow on all pull requests #379:
main←ci-infra-updatePR feat: make plugin tasks cacheable and relocatable #378 (THIS ONE):
ci-infra-update←make-tasks-cacheablePR fix: remove redundant LicensesCleanUpTask to fix implicit dependencies on Gradle 9.x #377:
make-tasks-cacheable←fix-clean-taskPR test: modernize E2E matrix and enable configuration cache strict mode #376:
fix-clean-task←test-infraPR build: upgrade gradle wrapper to 9.4.0 in oss-licenses-plugin #375:
test-infra←gradle-upgradegradle-upgrade←froeht/integration-testsTo support the Gradle Build Cache, tasks must explicitly opt-in and declare how their inputs should be tracked.
This PR:
@CacheableTasktoDependencyTaskandLicensesTask.ArtifactFilesto use@InputFileand@PathSensitive(PathSensitivity.NONE)for its internal fields.artifactFilesmap inLicensesTaskas@Nestedto ensure its contents are part of the cache key.These changes allow
validatePluginsto pass on modern Gradle versions and improve build performance by enablingFROM-CACHEhits.Fixes #246 (Implementation).