You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "efdgdfgfgyhgg-cell (via GitHub)" <gi...@apache.org> on 2026/10/02 12:13:08 UTC
[PR] docs: modernize Gradle dependency setup in basic sample [rocketmq]
efdgdfgfgyhgg-cell opened a new pull request, #11307:
URL: https://github.com/apache/rocketmq/pull/11307
### Which Issue(s) This PR Fixes
No linked issue. This corrects the dependency setup in the basic sample documentation.
### Brief Description
The basic sample uses the `compile` dependency configuration, which was removed in Gradle 7. Replace it with `implementation` and include the Java plugin, Maven Central repository, and dependencies block so readers can use the example in `build.gradle`.
Label the Maven snippet as XML and the Gradle snippet as Groovy. The client dependency version and all producer/consumer examples remain unchanged.
Reference: https://docs.gradle.org/current/userguide/upgrading_version_6.html#sec:configuration_removal
### How Did You Test This Change?
- Parsed the Maven dependency snippet as XML and verified its coordinates.
- Verified that all send/consume examples are unchanged.
- Ran `git diff --check` successfully.
- Gradle execution was not performed because Gradle is not installed locally.
Prepared with AI assistance and checked as described above.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org