Skip to content

Commit

Permalink
chore: Adding annotations in readme's (#9187)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddixit14 committed Mar 3, 2023
1 parent 66eac0d commit 2d25129
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 37 deletions.
2 changes: 2 additions & 0 deletions java-alloydb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Java idiomatic client for [AlloyDB][product-docs].


If you are using Maven, add this to your pom.xml file:

<!--- {x-version-update-start:google-cloud-alloydb:released} -->

```xml
Expand All @@ -37,6 +38,7 @@ If you are using SBT, add this to your dependencies:
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.1.0"
```

<!--- {x-version-update-end} -->


Expand Down
2 changes: 2 additions & 0 deletions java-dialogflow-cx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Java idiomatic client for [Dialogflow CX][product-docs].

If you are using Maven, add this to your pom.xml file:

<!-- {x-version-update-start:google-cloud-dialogflow-cx:released} -->

```xml
<dependency>
Expand All @@ -37,6 +38,7 @@ If you are using SBT, add this to your dependencies:
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.22.0"
```
<!-- {x-version-update-end} -->

## Authentication

Expand Down
44 changes: 7 additions & 37 deletions java-dns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,59 +11,29 @@ Java idiomatic client for [Cloud DNS][product-docs].

## Quickstart

If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
If you are using Maven, add this to your pom.xml file

```xml
<!--- {x-version-update-start: <artifactId>libraries-bom:released} -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>22.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!--- {x-version-update-start:google-cloud-dns:released} -->

```xml
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dns</artifactId>
<version>2.10.0</version>
</dependency>

```

If you are using Maven without BOM, add this to your dependencies:


```xml
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dns</artifactId>
<version>1.2.8</version>
</dependency>

```

If you are using Gradle 5.x or later, add this to your dependencies

```Groovy
implementation platform('com.google.cloud:libraries-bom:22.0.0')
implementation 'com.google.cloud:google-cloud-dns'
```
If you are using Gradle without BOM, add this to your dependencies
If you are using Gradle, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-dns:1.2.8'
implementation 'com.google.cloud:google-cloud-dns:2.10.0'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "1.2.8"
libraryDependencies += "com.google.cloud" % "google-cloud-dns" % "2.10.0"
```
<!--- {x-version-update-end} -->

Expand Down
2 changes: 2 additions & 0 deletions java-video-transcoder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Java idiomatic client for [Video Transcoder][product-docs].

If you are using Maven, add this to your pom.xml file:

<!-- {x-version-update-start:google-cloud-video-transcoder:released} -->

```xml
<dependency>
Expand All @@ -34,6 +35,7 @@ If you are using SBT, add this to your dependencies:
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.10.0"
```
<!-- {x-version-update-end} -->

## Authentication

Expand Down

0 comments on commit 2d25129

Please sign in to comment.