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 1495a24..63e99ce 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 @@ -172,12 +172,12 @@ public LibraryOverviewFile( + repoMetadata.getArtifactId() + " artifact.\n" + "
\n"
-              + "implementation platform('com.google.cloud:libraries-bom:"
+              + "implementation(platform("com.google.cloud:libraries-bom:"
               + librariesBomVersion
-              + "')\n"
-              + "implementation '"
+              + ""))\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 df45ffd..ed37915 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