Repository: micronaut-projects/micronaut-test
Pull request #924 (2024-01-15 22:15:33)

chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.2
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.micronaut.build.shared.settings](https://togithub.com/micronaut-projects/micronaut-build) | `6.6.1` -> `6.6.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.micronaut.build.shared.settings/6.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micronaut.build.shared.settings/6.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micronaut.build.shared.settings/6.6.1/6.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micronaut.build.shared.settings/6.6.1/6.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>micronaut-projects/micronaut-build (io.micronaut.build.shared.settings)</summary>

### [`v6.6.2`](https://togithub.com/micronaut-projects/micronaut-build/releases/tag/v6.6.2): Micronaut Build Plugins 6.6.2

#### What's Changed

-   Inline version properties in POM file by [@&#8203;melix](https://togithub.com/melix) in [https://github.com/micronaut-projects/micronaut-build/pull/647](https://togithub.com/micronaut-projects/micronaut-build/pull/647)
-   Update dependency org.asciidoctor:asciidoctorj to v2.5.11 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/644](https://togithub.com/micronaut-projects/micronaut-build/pull/644)
-   Update plugin com.gradle.enterprise to v3.16.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/642](https://togithub.com/micronaut-projects/micronaut-build/pull/642)
-   Update dependency com.gradle:gradle-enterprise-gradle-plugin to v3.16.1 - autoclosed by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/641](https://togithub.com/micronaut-projects/micronaut-build/pull/641)
-   Update dependency com.gradle:common-custom-user-data-gradle-plugin to v1.12.1 - autoclosed by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/640](https://togithub.com/micronaut-projects/micronaut-build/pull/640)
-   Updated gradle enterprise plugin to 3.16.1 by [@&#8203;ribafish](https://togithub.com/ribafish) in [https://github.com/micronaut-projects/micronaut-build/pull/639](https://togithub.com/micronaut-projects/micronaut-build/pull/639)
-   Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.24.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/636](https://togithub.com/micronaut-projects/micronaut-build/pull/636)
-   Update mikepenz/action-junit-report action to v4.0.4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/646](https://togithub.com/micronaut-projects/micronaut-build/pull/646)
-   Update dependency net.bytebuddy:byte-buddy to v1.14.11 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/634](https://togithub.com/micronaut-projects/micronaut-build/pull/634)
-   Update plugin io.micronaut.build.shared.settings to v6.6.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/633](https://togithub.com/micronaut-projects/micronaut-build/pull/633)
-   Fix for Gradle 8.5 by [@&#8203;melix](https://togithub.com/melix) in [https://github.com/micronaut-projects/micronaut-build/pull/648](https://togithub.com/micronaut-projects/micronaut-build/pull/648)
-   Update dependency org.apache.commons:commons-lang3 to v3.14.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-build/pull/635](https://togithub.com/micronaut-projects/micronaut-build/pull/635)

#### New Contributors

-   [@&#8203;ribafish](https://togithub.com/ribafish) made their first contribution in [https://github.com/micronaut-projects/micronaut-build/pull/639](https://togithub.com/micronaut-projects/micronaut-build/pull/639)

**Full Changelog**: https://github.com/micronaut-projects/micronaut-build/compare/v6.6.1...v6.6.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/micronaut-projects/micronaut-test).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=924) **Quality Gate passed**  
Kudos, no new issues were introduced!

[0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=924&resolved=false&inNewCodePeriod=true)  
[0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=924&resolved=false&inNewCodePeriod=true)  
No data about Coverage  
No data about Duplication  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=924)



Patch:
diff --git a/README.md b/README.md
index e9c6ee59..3f30d73a 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ # Micronaut Test
     MathService mathService // Dependency injection is used to supply the system under test
 
     @Unroll
-    void "should compute #num times 4"() { // This is the test case. #num will be replaces by the values defined in the where: block
+    void "should compute #num times 4"() { // This is the test case. #num will be replaced by the values defined in the where: block
         when:
         def result = mathService.compute(num)
 
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index b730e14d..af28a1e0 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,5 +1,5 @@
 [versions]
-micronaut = "4.2.3"
+micronaut = "4.3.5"
 micronaut-platform = "4.2.3"
 micronaut-docs = "2.0.0"
 groovy = "4.0.15"
@@ -14,8 +14,7 @@ managed-kotest = "5.8.0"
 managed-spock = "2.3-groovy-4.0"
 
 kotlin = "1.9.22"
-graal-svm = "23.1.1"
-testcontainers = "1.19.3"
+graal-svm = "23.1.2"
 
 micronaut-test = "4.1.1"
 micronaut-data = "4.4.1"
@@ -26,8 +25,9 @@ micronaut-serde = "2.7.0"
 micronaut-spring = "5.4.0"
 micronaut-sql = "5.4.0"
 micronaut-reactor = "3.2.1"
+micronaut-test-resources = "2.3.3"
 
-micronaut-gradle-plugin = "4.2.1"
+micronaut-gradle-plugin = "4.3.2"
 
 [libraries]
 # Core
@@ -42,6 +42,7 @@ micronaut-spring = { module = "io.micronaut.spring:micronaut-spring-bom", versio
 micronaut-sql = { module = "io.micronaut.sql:micronaut-sql-bom", version.ref = "micronaut-sql" }
 micronaut-reactor = { module = 'io.micronaut.reactor:micronaut-reactor-bom', version.ref = "micronaut-reactor" }
 micronaut-test = { module = 'io.micronaut.test:micronaut-test-bom', version.ref = "micronaut-test" }
+micronaut-test-resources = { module = "io.micronaut.testresources:micronaut-test-resources-bom", version.ref = "micronaut-test-resources" }
 
 managed-assertj-core = { module = "org.assertj:assertj-core", version.ref = "managed-assertj" }
 managed-hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "managed-hamcrest" }
@@ -73,7 +74,3 @@ kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref =
 groovy = { module = "org.apache.groovy:groovy" }
 
 kotlin-gradle-plugin = { module = 'org.jetbrains.kotlin:kotlin-gradle-plugin', version.ref = 'kotlin' }
-
-testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version.ref = "testcontainers" }
-testcontainers = { module = "org.testcontainers:testcontainers" }
-testcontainers-postgresql = { module = "org.testcontainers:postgresql"}
diff --git a/settings.gradle b/settings.gradle
index 64a69bbb..46d16e3d 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -6,7 +6,7 @@ pluginManagement {
 }
 
 plugins {
-    id("io.micronaut.build.shared.settings") version "6.6.1"
+    id("io.micronaut.build.shared.settings") version "6.6.2"
 }
 
 enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS'
@@ -18,9 +18,10 @@ micronautBuild {
     importMicronautCatalog("micronaut-serde")
     importMicronautCatalog("micronaut-spring")
     importMicronautCatalog("micronaut-sql")
+    importMicronautCatalog("micronaut-r2dbc")
     importMicronautCatalog("micronaut-reactor")
     importMicronautCatalog("micronaut-test")
-    importMicronautCatalog("micronaut-r2dbc")
+    importMicronautCatalog("micronaut-test-resources")
 }
 
 rootProject.name = 'test-parent'


Test patch:
diff --git a/test-suite-at-sql-jpa/build.gradle.kts b/test-suite-at-sql-jpa/build.gradle.kts
index 8aee0e53..b2f01bfa 100644
--- a/test-suite-at-sql-jpa/build.gradle.kts
+++ b/test-suite-at-sql-jpa/build.gradle.kts
@@ -21,9 +21,7 @@ dependencies {
     testImplementation(projects.micronautTestJunit5)
     testRuntimeOnly(libs.junit.jupiter.engine)
 
-    testImplementation(platform(libs.testcontainers.bom))
-    testImplementation(libs.testcontainers)
-    testImplementation(libs.testcontainers.postgresql)
+    testImplementation(mnTestResources.testcontainers.postgres)
 }
 tasks.withType<Test> {
     useJUnitPlatform()
diff --git a/test-suite-sql-r2dbc/build.gradle.kts b/test-suite-sql-r2dbc/build.gradle.kts
index f23cc672..a81064c1 100644
--- a/test-suite-sql-r2dbc/build.gradle.kts
+++ b/test-suite-sql-r2dbc/build.gradle.kts
@@ -31,6 +31,7 @@ dependencies {
 micronaut {
     importMicronautPlatform.set(false)
     testResources {
+        version.set(libs.versions.micronaut.test.resources)
         additionalModules.add(R2DBC_MYSQL)
     }
 }