Skip to content

chore: fix minor typos in README and pom templates #1479

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2022
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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