Skip to content

Document google-ads-bom in README and update updateReadme task - #938

Open
pattersonlois wants to merge 1 commit into
googleads:mainfrom
pattersonlois:add-bom-readme-and-release-task
Open

pattersonlois wants to merge 1 commit into
googleads:mainfrom
pattersonlois:add-bom-readme-and-release-task

Conversation

@pattersonlois

Copy link
Copy Markdown
Contributor

Split out from #937 per review feedback to keep the README.md Bill of Materials additions paired with the updateReadme release-task changes in a dedicated PR.

Summary

  • Add a ## Bill of Materials (BOM) section to README.md with Maven (pom.xml) and Gradle (build.gradle) snippets using google-ads-bom.
  • Update ## Requirements in README.md from Maven 3.0+ to Maven 3.0+ or Gradle 5.0+ (minimum Gradle version for native BOM import via platform()).
  • Convert the ## Maven artifacts and ## Gradle dependency snippets in README.md from indented blocks to fenced xml and groovy blocks to match the BOM snippets (and avoid merge conflicts with Update authors and fix documentation, sample config, and POM metadata #937).
  • Extend tasks.register('updateReadme') in buildSrc/src/main/groovy/com.google.api-ads.release.gradle so both google-ads and google-ads-bom versions are updated in Maven and Gradle dependency snippets during release prep.

Verification

  • Verified both replaceAll regexes extracted from buildSrc/src/main/groovy/com.google.api-ads.release.gradle against the updated README.md using Java's String.replaceAll with test version 99.0.0: all 4 versioned coordinates (google-ads-bom Maven, google-ads-bom Gradle platform(...), google-ads Maven, and google-ads Gradle) updated cleanly, 0 48.2.0 references remained, and both versionless google-ads entries inside the BOM snippets were untouched. (Local ./gradlew could not run directly on this machine because only JDK 25/27 are installed and Gradle 8.10 supports up to JDK 22.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant