dejan2609 opened a new pull request, #24353: URL: https://github.com/apache/kafka/pull/24353
KAFKA-21625 Gradle 9.9 deprecates built-in Ant integration (and Gradle 10 will remove it: https://blog.gradle.org/side-quest-removing-ant). This PR removes Ant usage in the Kafka Gradle build. - `copyTestXml` (`build.gradle`): `ant.copy` is replaced by a `Copy` task. Same `onlyIf` conditions, destination and log line; it still runs as a finalizer when tests fail. Related link: https://docs.gradle.org/9.9.2/userguide/upgrading_version_9.html#deprecated_ant_builder - `api-checker/maven-plugin`: Gradle 10 will also stop putting Ant classes on the build script classpath, so the Ant `ReplaceTokens` filter for `plugin.xml` is replaced by `filter { }` with a single-pass regex. Generated `plugin.xml` is identical; token values are now declared as task inputs. Related link: https://docs.gradle.org/9.9.2/userguide/upgrading_version_9.html#ant_build_script_classpath Co-Authored-By: Claude Opus 5.5 <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
