diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index d67ca25d4..a49b2186b 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-pubsub.git", - "sha": "7622cdb24cd3428c94e90d584d0334eb27c51393" + "sha": "6f172ae74512bfbcb9d2c017ff6fff6ee0478755" } }, { diff --git a/README.md b/README.md index cb26439a9..e07d3cb00 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,24 @@ Java idiomatic client for [Cloud Pub/Sub][product-docs]. If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file ```xml + + + + com.google.cloud + libraries-bom + 17.0.0 + pom + import + + + + + + + com.google.cloud + google-cloud-pubsub + + ``` @@ -29,7 +47,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:17.0.0') +implementation platform('com.google.cloud:libraries-bom:18.0.0') compile 'com.google.cloud:google-cloud-pubsub' ```