Extension Name: vscode-gradle
Extension Version: 3.17.2025111402
OS Version: MacOS Sequoia 15.4.1
VSCode version: 1.107.0 - commit 618725e67565b290ba4da6fe2d29f8fa1d4e3622
Gradle version: 9.2.1
JVM: openjdk 21.0.2 2024-01-16
Describe the bug
Refreshing tasks or loading the Gradle project fails when parallel task execution is enabled. It fails with:
* Exception is:
org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$IllegalResolutionException:
Resolution of the configuration ':agent:annotationProcessor' was attempted without an exclusive lock. This is unsafe and not allowed.
But everything works properly with org.gradle.parallel=false. This isn't a solution for us, as Gradle actions take 5-6x longer.
To Reproduce
Checkout openremote/openremote@2028277 and open with DevContainer (or any VSCode IDE with Java 24 and Gradle setup).
The devcontainer has been configured correctly. Relevant gradle commands for setup are ./gradlew clean installDist and ./gradlew runDemo to run the demo.
Expected behavior
The full project is scanned and all tasks are imported.
Screenshots
If applicable, add screenshots to help explain your problem.
Output from "Gradle for Java"
You can find this by clicking on the "Output" panel, then selecting the "Gradle for Java" channel from the dropdown.
<Entire log file/stack trace attached>
gradleLogs.txt
Does the bug still exist if you disable all other extensions?
Yes
Additional context
This issue has been encountered before, and has been reported in this issue #1712 , but it seems that the issue isn't getting reopened. We cannot stop using parallelized Gradle task executions because it sharply increases our build/pipeline times, hence significantly slowing down development.
From what I understand, this can't be fixed from our end, meaning that we cannot do anything to skip that error.
Let me know if I can help in any other way. Thanks!