You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Benoit Thore, Sergey Parfenyuk, jiyolla, Daniel Lukic, Naimul Kabir, Wil Carmon, Grzegorz (Greg) Osak, Pedro Cunha, Sunyeop Lee, Tommy Zinnatullin and 2 more
One solution is to require Codex to specify GRADLE_USER_HOME when executing Gradle in AGENTS.md:
## Gradle- When invoking Gradle in this repository, always set `GRADLE_USER_HOME` to the workspace-local `.gradle-user-home` directory.
- Prefer commands such as `./gradlew -g .gradle-user-home ...` or the equivalent environment-variable-based configuration.
Activity
github-actions commentedon Oct 15, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
IRus commentedon Nov 4, 2025
I've added this into
~/.codex/config.tomlto solve this issue:Seems it's working for me
wcarmon commentedon Jan 2, 2026
You are my hero @IRus 🙏
on Linux, with gradle installed via sdkman, this worked: (small modification in
writable_roots)Glavo commentedon Apr 23, 2026
One solution is to require Codex to specify
GRADLE_USER_HOMEwhen executing Gradle in AGENTS.md: