Skip to content

Commit

Permalink
chore: fix minor typos in README and pom templates (#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
alicejli authored Jul 7, 2022
1 parent 04cc5e8 commit 18d4e9b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions synthtool/gcp/templates/java_library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Java idiomatic client for [{{metadata['repo']['name_pretty']}}][product-docs].
## Quickstart

{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['api_shortname'] + '_install_with_bom'] -%}
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:

```xml
{{ metadata['snippets'][metadata['repo']['api_shortname'] + '_install_with_bom'] }}
Expand All @@ -45,7 +45,7 @@ If you are using Maven, add this to your pom.xml file:
```

{% if 'snippets' in metadata and metadata['snippets'][metadata['repo']['api_shortname'] + '_install_with_bom'] -%}
If you are using Gradle 5.x or later, 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:{{metadata['latest_bom_version']}}')
Expand All @@ -54,13 +54,13 @@ implementation '{{ group_id }}:{{ artifact_id }}'
```
{% endif -%}

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

```Groovy
implementation '{{ group_id }}:{{ artifact_id }}:{{ metadata['latest_version'] }}'
```

If you are using SBT, add this to your dependencies
If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "{{ group_id }}" % "{{ artifact_id }}" % "{{ metadata['latest_version'] }}"
Expand Down
2 changes: 1 addition & 1 deletion synthtool/gcp/templates/java_library/samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not affect the execution of the samples in anyway.
Removing or replacing it should not affect the execution of the samples in any way.
-->
<parent>
<groupId>com.google.cloud.samples</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not affect the execution of the samples in anyway.
Removing or replacing it should not affect the execution of the samples in any way.
-->
<parent>
<groupId>com.google.cloud.samples</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<!--
The parent pom defines common style checks and testing strategies for our samples.
Removing or replacing it should not affect the execution of the samples in anyway.
Removing or replacing it should not affect the execution of the samples in any way.
-->
<parent>
<groupId>com.google.cloud.samples</groupId>
Expand Down

0 comments on commit 18d4e9b

Please sign in to comment.