Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: regenerate README #535

Merged
merged 1 commit into from Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/readme/synth.metadata/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-pubsub.git",
"sha": "7622cdb24cd3428c94e90d584d0334eb27c51393"
"sha": "6f172ae74512bfbcb9d2c017ff6fff6ee0478755"
}
},
{
Expand Down
20 changes: 19 additions & 1 deletion README.md
Expand Up @@ -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
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>17.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
</dependency>

</dependencies>

```
Expand All @@ -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'
```
Expand Down