Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid eagerly resolving input files in ProtobufExtract (#713) (v0.9.x backport) #719

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

YifeiZhuang
Copy link
Collaborator

Rely on FileCollection.getElements() (available in Gradle 5.6+) to ensure no files are accessed eagerly during configuration. This also ensures configuration cache key does not depend on them.

Fixes issue #711.

Test: Added "testProjectDependent proto extraction with configuration cache" with Gradle 8.1

backport of #713

Rely on FileCollection.getElements() (available in Gradle 5.6+) to
ensure no files are accessed eagerly during configuration. This also
ensures configuration cache key does not depend on them.

Fixes issue google#711.

Test: Added "testProjectDependent proto extraction with configuration cache" with Gradle 8.1
@YifeiZhuang YifeiZhuang requested a review from ejona86 July 13, 2023 17:21
@YifeiZhuang YifeiZhuang merged commit 4502c7e into google:v0.9.x Jul 13, 2023
11 checks passed
@YifeiZhuang YifeiZhuang deleted the backport3 branch July 13, 2023 18:57
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.

3 participants