Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Add configuration caching support to grgit.#353

Closed
abelom wants to merge 1 commit intoajoberstar:mainfrom
abelom:config-cache-by-runningcode
Closed

Add configuration caching support to grgit.#353
abelom wants to merge 1 commit intoajoberstar:mainfrom
abelom:config-cache-by-runningcode

Conversation

@abelom
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
Author

abelom commented Jan 31, 2022

@ajoberstar poke :)

@ajoberstar
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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