Skip to content

Conversation

@simonlebras
Copy link
Contributor

Use Gradle lazy APIs to defer configuration resolution.

Provisioner cannot depend on Gradle APIs so I've created a wrapper for getting config files lazily

@nedtwigg
Copy link
Member

This PR might be necessary, but I'm not sure yet. We can stack the laziness to infinity Set<File> -> Provider<Set<File>> -> Provider<Provider<Set<File>> etc.

Spotless is supposed to not configure if it isn't on the task graph. I suppose that broke at some point, and I think #2719 fixes that.

Have you done any local integration testing which shows that this PR provides further perfomance improvements if Spotless is not being executed?

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