From 18d4e9bb50d0dfb3291de18c51b96a2c835e2446 Mon Sep 17 00:00:00 2001 From: Alice <65933803+alicejli@users.noreply.github.com> Date: Thu, 7 Jul 2022 10:24:21 -0400 Subject: [PATCH] chore: fix minor typos in README and pom templates (#1479) --- synthtool/gcp/templates/java_library/README.md | 8 ++++---- synthtool/gcp/templates/java_library/samples/pom.xml | 2 +- .../gcp/templates/java_library/samples/snapshot/pom.xml | 2 +- .../gcp/templates/java_library/samples/snippets/pom.xml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/synthtool/gcp/templates/java_library/README.md b/synthtool/gcp/templates/java_library/README.md index ea4e725f5..e50e4b920 100644 --- a/synthtool/gcp/templates/java_library/README.md +++ b/synthtool/gcp/templates/java_library/README.md @@ -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'] }} @@ -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']}}') @@ -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'] }}" diff --git a/synthtool/gcp/templates/java_library/samples/pom.xml b/synthtool/gcp/templates/java_library/samples/pom.xml index 2c7d26c5d..9a461b3f6 100644 --- a/synthtool/gcp/templates/java_library/samples/pom.xml +++ b/synthtool/gcp/templates/java_library/samples/pom.xml @@ -13,7 +13,7 @@ com.google.cloud.samples diff --git a/synthtool/gcp/templates/java_library/samples/snapshot/pom.xml b/synthtool/gcp/templates/java_library/samples/snapshot/pom.xml index 7881ea729..62a83b440 100644 --- a/synthtool/gcp/templates/java_library/samples/snapshot/pom.xml +++ b/synthtool/gcp/templates/java_library/samples/snapshot/pom.xml @@ -11,7 +11,7 @@ com.google.cloud.samples diff --git a/synthtool/gcp/templates/java_library/samples/snippets/pom.xml b/synthtool/gcp/templates/java_library/samples/snippets/pom.xml index 61dfc3fb2..c6b998150 100644 --- a/synthtool/gcp/templates/java_library/samples/snippets/pom.xml +++ b/synthtool/gcp/templates/java_library/samples/snippets/pom.xml @@ -11,7 +11,7 @@ com.google.cloud.samples