Avoid configuring project not needed#10397
Merged
Merged
Conversation
PerfectSlayer
approved these changes
Jan 19, 2026
PerfectSlayer
left a comment
Contributor
There was a problem hiding this comment.
👏 praise: Nice! Any downside to be aware of?
Contributor
Author
|
@PerfectSlayer, as far as I know none. One can always request to have full configuration with this Gradle command flag: This is unscientific, but on a project that already had every relevant files compiled, and run at least once before: Without configuration on demand it executes in 3-4s Without configuration on demand it executes in 13-14s I think this can help in other cases. That said, I couldn't test all combinations especially in the IDE on every projects, so I want to communicate this change to let contributors know about it and report related issues if any. |
bric3
added a commit
that referenced
this pull request
Jan 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Toggle on Configure On Demand to avoid configuration of unneeded projects
https://docs.gradle.org/current/userguide/configuration_on_demand.html
Motivation
Faster tooling.
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any useful labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]