neoLsH opened a new pull request, #11160: URL: https://github.com/apache/rocketmq/pull/11160
### Which Issue(s) This PR Fixes - Fixes #11159 ### Brief Description The Gradle snippets in the quick-start docs still use `compile`, which Gradle removed in 7.0. Copying them into a current build fails while the project is being evaluated, and the error reads like a method-name typo with no hint that the configuration itself is gone. Switched to `implementation`, which is what the Gradle upgrade guide's migration table maps `compile` to. The other option in that table, `api`, requires the `java-library` plugin, and these snippets are for sample applications. The Maven blocks right above them are untouched. ### How Did You Test This Change? Docs only, no code path affected. Checked on Gradle 9.7.1 with a minimal `java` project: with `compile` the build fails with "Could not find method compile() for arguments [...] on object of type ...DefaultDependencyHandler", with `implementation` it succeeds and resolves rocketmq-client:5.5.0 along with its transitive dependencies from Maven Central, which also confirms the coordinates and version already in the docs are correct. Grepped the whole tree on develop too. These are the only Gradle-style dependency declarations and the only files that mention Gradle at all, so nothing is left half-migrated. -- 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]
