Build-system major drift
Gradle 9 Project.javaexec removed deprecation JavaExecOperations official
Code generation task fails during configuration or execution with no application-source changes.
Agent Quick Fix
Repair against the current Gradle 9 contract, then keep the change narrow and source-backed.
Product: Gradle 9
Current-contract area: `Project.javaexec` invocation removed from build logic
Likely root cause: Code generation task fails during configuration or execution with no application-source changes.
Repair direction: Verifier checks explicit modern configuration and supported daemon/toolchain separation.
Symptom
Code generation task fails during configuration or execution with no application-source changes.
Why This Happens
Build scripts can be syntactically plausible while the current build-system major removes implicit artifacts/APIs or raises its daemon runtime floor.
Common Wrong Fixes
- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.
Codex Search Keywords
These are the search terms observed in a neutral Codex validation run for this failure shape.
Gradle 9 Project.javaexec removed deprecation JavaExecOperations official
site:docs.gradle.org Gradle 9 Project.javaexec deprecated removed
Gradle Project javaexec deprecated javaexec(Action)
https://docs.gradle.org/current/userguide/upgrading_major_version_9.html
'Project#exec' in https://docs.gradle.org/current/userguide/upgrading_major_version_9.html
https://docs.gradle.org/current/javadoc/org/gradle/process/ExecOperations.html
Source Trail
- Upgrading to Gradle 9: https://docs.gradle.org/current/userguide/upgrading_major_version_9.html
- Official reference opened by Codex: https://docs.gradle.org/current/userguide/upgrading_major_version_9.html
- Official reference opened by Codex: https://docs.gradle.org/current/javadoc/org/gradle/process/ExecOperations.html