UTF-8
diff --git a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/LibraryOverviewFile.java b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/LibraryOverviewFile.java
index 1495a24d..80680de7 100644
--- a/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/LibraryOverviewFile.java
+++ b/third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/LibraryOverviewFile.java
@@ -46,7 +46,7 @@ public LibraryOverviewFile(
this.outputPath = outputPath;
this.fileName = fileName;
this.artifactVersion = artifactVersion;
- this.librariesBomVersion = librariesBomVersion;
+ this.librariesBomVersion = librariesBomVersion.trim();
this.repoMetadataFilePath = repoMetadataFilePath;
this.recommendedPackage = recommendedPackage;
@@ -172,12 +172,12 @@ public LibraryOverviewFile(
+ repoMetadata.getArtifactId()
+ " artifact.\n"
+ "\n"
- + "implementation platform('com.google.cloud:libraries-bom:"
- + librariesBomVersion
- + "')\n"
- + "implementation '"
+ + "implementation(platform("com.google.cloud:libraries-bom:"
+ + this.librariesBomVersion
+ + ""))\n"
+ + "implementation(""
+ repoMetadata.getDistributionName()
- + "'\n"
+ + "")\n"
+ "\n\n"
+ "The platform and enforcedPlatform keywords supply dependency versions\n"
+ "declared in a BOM. The enforcedPlatform keyword enforces the dependency\n"
diff --git a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.md b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.md
index df45ffd4..ed379159 100644
--- a/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.md
+++ b/third_party/docfx-doclet-143274/src/test/resources/expected-generated-files/overview.md
@@ -61,8 +61,8 @@ dependency declarations in the artifact's build.gradle file.
The example below demonstrates how you would import the BOM and include the google-cloud-apikeys artifact.
-implementation platform('com.google.cloud:libraries-bom:26.19.0')
-implementation 'com.google.cloud:google-cloud-apikeys'
+implementation(platform("com.google.cloud:libraries-bom:26.19.0"))
+implementation("com.google.cloud:google-cloud-apikeys")
The platform and enforcedPlatform keywords supply dependency versions