Skip to content

Set org.gradle.tooling.parallel explicitly for Gradle 9.8 - #9

Merged
lagergren merged 1 commit into
masterfrom
gradle-tooling-parallel
Oct 2, 2026
Merged

lagergren merged 1 commit into
masterfrom
gradle-tooling-parallel

Conversation

@lagergren

Copy link
Copy Markdown
Contributor

Follow-up to #8. Adds org.gradle.tooling.parallel=true to gradle.properties.

Gradle 9.8 deprecates letting org.gradle.parallel=true implicitly enable parallel Tooling API model building, and Gradle 10 makes it an error. The warning only appears during IDE sync, never in a CLI build, which is why #8's --warning-mode fail build didn't catch it. On master, fetching project models through the Tooling API (what an IDE sync does) prints:

Relying on the default value of the 'org.gradle.tooling.parallel' property while 'org.gradle.parallel' is enabled. This behavior has been deprecated. This will fail with an error in Gradle 10.

true keeps today's behavior. The same change is in xtclang/platform#24 (merged) and xtclang/examples#25.

Verification:

  • Tooling API model fetch with --warning-mode=all: the deprecation warning goes away with this change.
  • ./gradlew build --warning-mode fail: BUILD SUCCESSFUL
  • ORG_GRADLE_PROJECT_entityToGreet='Bjarne Stroustrup' ./gradlew greet: prints the greeting

Gradle 9.8 deprecates deriving Tooling API (IDE sync) model-building
parallelism from org.gradle.parallel, and Gradle 10 makes it an error.
true keeps the current behavior. Matches xtclang/examples and
xtclang/platform.
@lagergren
lagergren merged commit 7c54690 into master Oct 2, 2026
2 checks passed
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.

1 participant