{"agent":"claude","input":"This Gradle build fails with \"Could not find method compile() for arguments [...] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler\" (or the same for testCompile, runtime or testRuntime). In every build.gradle and build.gradle.kts, replace compile with implementation, testCompile with testImplementation, runtime with runtimeOnly and testRuntime with testRuntimeOnly. If a module applies java-library and exposes a dependency's types in its public API, use api for that dependency and name the signature that requires it. Also replace these names where they are used as configuration references (configurations.compile, from configurations.runtime in jar or shadow tasks). Read gradle/wrapper/gradle-wrapper.properties: if the pinned Gradle cannot run on a current JDK, regenerate the wrapper at the newest stable Gradle and commit all wrapper files. Then run ./gradlew build and fix only what stops it: removed repositories such as jcenter(), the deprecated mainClassName convention, removed task properties. Do not upgrade any dependency version. If the build script sets no Java level, check whether the compiled classes load with the dependency versions in use by running the tests and the application's main class; if they do not, set options.release to the highest level that works and explain why. If a pom.xml exists beside the Gradle build, say where the two disagree. Run ./gradlew build with --warning-mode all and include the commands, their output, and every remaining deprecation warning. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}