Skip to content

Reference Testcontainers BOM version from gradle.properties in guide prose#511

Merged
jamesfredley merged 1 commit into
masterfrom
migrate-testcontainers-version-to-properties
May 29, 2026
Merged

Reference Testcontainers BOM version from gradle.properties in guide prose#511
jamesfredley merged 1 commit into
masterfrom
migrate-testcontainers-version-to-properties

Conversation

@jamesfredley
Copy link
Copy Markdown
Contributor

Follow-up to #510. The sample apps now keep the Testcontainers BOM version in gradle.properties (as testcontainersVersion) instead of hardcoding it in build.gradle, matching how grailsVersion is managed and keeping the version in one place.

This updates the two guide testing chapters that showed the version inline:

  • grails-rest-library testing chapter -> platform("org.testcontainers:testcontainers-bom:\") + a gradle.properties snippet
  • grails-vite-spa testing chapter -> same, referencing backend/gradle.properties

The matching grails-guides/* sample apps (grails-spock-test-tour, grails-rest-library, grails-github-actions-cicd, grails-vite-spa, grails-docker-bootbuildimage) were updated on their grails8 branches.

validateGuides: 93 guides, 0 errors. Both guides re-rendered cleanly.

Assisted-by: claude-code:claude-opus-4-7

…ide prose

The grails-rest-library and grails-vite-spa testing chapters showed the
testcontainers-bom version inline. The sample apps now keep that version in
gradle.properties (as testcontainersVersion), so the chapters reference
\ and show the gradle.properties entry, keeping the
version in one place.

Assisted-by: claude-code:claude-opus-4-7
Copilot AI review requested due to automatic review settings May 28, 2026 23:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This documentation-only PR updates two Grails 8 guide testing chapters to show the Testcontainers BOM version being referenced from gradle.properties via testcontainersVersion, matching the sample app configuration described in the PR.

Changes:

  • Replaces inline testcontainers-bom:1.20.4 usage with $testcontainersVersion.
  • Adds gradle.properties snippets showing testcontainersVersion=1.20.4.
  • Uses the correct backend path for the multi-module Vite SPA guide.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
guides/grails-rest-library/v8/guide/testing.adoc Updates Testcontainers BOM dependency prose and adds the root gradle.properties version snippet.
guides/grails-vite-spa/v8/guide/testing.adoc Updates backend Testcontainers BOM dependency prose and adds the backend/gradle.properties version snippet.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamesfredley jamesfredley merged commit f76fda5 into master May 29, 2026
2 checks passed
@jamesfredley jamesfredley deleted the migrate-testcontainers-version-to-properties branch May 29, 2026 00:07
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.

2 participants