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

Add configuration caching support to grgit. #353

Closed
wants to merge 1 commit into from

Conversation

abelom
Copy link

@abelom abelom commented Jan 26, 2022

I've stumbled over https://github.com/runningcode/grgit/tree/no/config-cache which seems to be addressing something I am very interesting in. This PR is just a cherry pick of code made by @runningcode who did not PR it back then for whatever reason.

How does this conditional on gradle version approach looks? Does grgit as of today has an official minimal version of gradle or can we make it 6.1?

fix #322
See also #333

@runningcode
Copy link
Contributor

Thanks for opening this. I cannot remember the reason I didn't open it but IIRC there were some backward compatibility issues with the API with this change.

@abelom
Copy link
Author

abelom commented Jan 31, 2022

@ajoberstar poke :)

@ajoberstar
Copy link
Owner

I cherry-picked this into #354 and reworked it a little to provide two layers of plugins (to avoid requiring eager initialization). Thanks for the assistance @abelom and @runningcode!

@ajoberstar ajoberstar closed this Feb 8, 2022
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.

Gradle 6.6-rc-1 --configuration-cache > registration of listener on 'Gradle.buildFinished' is unsupported
3 participants