Skip to content

build-info-extractor-gradle: use container api for configuration cach…#705

Open
martin-walsh wants to merge 1 commit intojfrog:masterfrom
martin-walsh:master
Open

build-info-extractor-gradle: use container api for configuration cach…#705
martin-walsh wants to merge 1 commit intojfrog:masterfrom
martin-walsh:master

Conversation

@martin-walsh
Copy link
Copy Markdown

@martin-walsh martin-walsh commented Feb 8, 2023

Opening this PR as a conversation starter around support for new --configuration-cache flag in Gradle.

Essentially, if a project uses any plugins which do not defer creation of Tasks, a user cannot make use of configuration cache.

The main changes required are to use the lazy init apis i.e. register vs create & named vs findByName.

The code looks like it requires more changes than I have made here so far, but before I do so, it's best to discuss.

See:

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 8, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@martin-walsh
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@martin-walsh
Copy link
Copy Markdown
Author

recheck

@martin-walsh martin-walsh marked this pull request as ready for review February 8, 2023 04:18
@yahavi yahavi added the safe to test Approve running integration tests on a pull request label Feb 8, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Feb 8, 2023
@martin-walsh
Copy link
Copy Markdown
Author

@yahavi How can I start a discussion on this ?

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