jfrog / build-info

Artifactory's open integration layer for CI build servers
https://www.buildinfo.org
Apache License 2.0
147 stars 155 forks source link

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

Open martin-walsh opened 1 year ago

martin-walsh commented 1 year ago

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[bot] commented 1 year ago

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

martin-walsh commented 1 year ago

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

martin-walsh commented 1 year ago

recheck

martin-walsh commented 1 year ago

@yahavi How can I start a discussion on this ?