Skip to content

fix #1167: Consolidate example code snippets#4136

Open
aboullaite wants to merge 3 commits into
testcontainers:mainfrom
aboullaite:master
Open

fix #1167: Consolidate example code snippets#4136
aboullaite wants to merge 3 commits into
testcontainers:mainfrom
aboullaite:master

Conversation

@aboullaite

Copy link
Copy Markdown

Move code snippets from docs/examples to examples and update doc links

Signed-off-by: mohammed aboullaite <maboullaite@spotify.com>

@kiview kiview left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I just realized, all instances of testImplementation project(":testcontainers") or similar includes in the moved build.gradle files need to be substituted by regular dependency definition, like:

testCompile 'org.testcontainers:testcontainers'

Also, the moved projects need to be added as explicit includes to https://github.com/aboullaite/testcontainers-java/blob/625ddc374cac2447cbbcb59c9d7e07c49ac30e99/examples/settings.gradle#L33, so they get picked up by the build.

Signed-off-by: mohammed aboullaite <maboullaite@spotify.com>
@aboullaite

Copy link
Copy Markdown
Author

I made some changes! Let me know If I missed something

@eddumelendez eddumelendez requested a review from a team November 19, 2024 22:04
@eddumelendez eddumelendez requested a review from a team as a code owner August 19, 2025 16:51
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