Maven and Gradle builds are heavy on memory and slow on a cold start. How a Java team can give each coding agent its own cloud machine so the dependency cache and build state persist: what to put in the template, the single-test commands, memory settings,…