Repository: micronaut-projects/micronaut-test
Pull request #925 (2024-01-16 22:22:24)

fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator to v4.2.0
[![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.beanvalidation:micronaut-hibernate-validator](https://micronaut.io) ([source](https://togithub.com/micronaut-projects/micronaut-hibernate-validator)) | `4.1.0` -> `4.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.1.0/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.1.0/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>micronaut-projects/micronaut-hibernate-validator (io.micronaut.beanvalidation:micronaut-hibernate-validator)</summary>

### [`v4.2.0`](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/releases/tag/v4.2.0): Micronaut Hibernate Validator 4.2.0

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### Dependency updates 🚀

##### Micronaut Modules

##### Micronaut Core

-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.2.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/353](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/353)

##### Micronaut Serialization

-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.7.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/351](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/351)

##### Micronaut Validation

-   fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/354](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/354)

##### CI ⚙️Build 🐘

-   chore(deps): update dependency gradle to v8.5 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/358](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/358)

##### Micronaut Build Plugin

-   chore(deps): 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-hibernate-validator/pull/352](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/352)

##### Micronaut Gradle Plugin

**Full Changelog**: https://github.com/micronaut-projects/micronaut-hibernate-validator/compare/v4.1.0...v4.2.0

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->


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=925) **Quality Gate passed**  
Kudos, no new issues were introduced!

[0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=925&resolved=false&inNewCodePeriod=true)  
[0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=925&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=925)



Patch:
diff --git a/.github/workflows/central-sync.yml b/.github/workflows/central-sync.yml
index 06e7e597..dd1f3514 100644
--- a/.github/workflows/central-sync.yml
+++ b/.github/workflows/central-sync.yml
@@ -18,7 +18,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           ref: v${{ github.event.inputs.release_version }}
-      - uses: gradle/wrapper-validation-action@v1
+      - uses: gradle/wrapper-validation-action@v2
       - name: Set up JDK
         uses: actions/setup-java@v4
         with:
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 13a4a29a..9b157ff9 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -45,14 +45,14 @@ jobs:
           fetch-depth: 0
 
       - name: "🔧 Setup GraalVM CE"
-        uses: graalvm/setup-graalvm@v1.1.5
+        uses: graalvm/setup-graalvm@v1.1.6
         with:
           distribution: 'graalvm'
           java-version: ${{ matrix.java }}
           github-token: ${{ secrets.GITHUB_TOKEN }}
 
       - name: "🔧 Setup Gradle"
-        uses: gradle/gradle-build-action@v2.11.1
+        uses: gradle/gradle-build-action@v3.1.0
 
       - name: "❓ Optional setup step"
         run: |
diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml
index 0dff1bc1..0875db92 100644
--- a/.github/workflows/publish-snapshot.yml
+++ b/.github/workflows/publish-snapshot.yml
@@ -11,7 +11,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
-      - uses: actions/cache@v3
+      - uses: actions/cache@v4
         with:
           path: ~/.gradle/caches
           key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9aa496e2..4158900b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -17,7 +17,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           token: ${{ secrets.GH_TOKEN }}
-      - uses: gradle/wrapper-validation-action@v1
+      - uses: gradle/wrapper-validation-action@v2
       - name: Set up JDK
         uses: actions/setup-java@v4
         with:
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.properties b/gradle.properties
index 60f7cbf5..4536bf24 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-projectVersion=4.2.1-SNAPSHOT
+projectVersion=4.3.0-SNAPSHOT
 projectGroup=io.micronaut.test
 
 title=Micronaut Test
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index b730e14d..51c64c1c 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,6 +1,6 @@
 [versions]
-micronaut = "4.2.3"
-micronaut-platform = "4.2.3"
+micronaut = "4.3.5"
+micronaut-platform = "4.3.1"
 micronaut-docs = "2.0.0"
 groovy = "4.0.15"
 
@@ -14,20 +14,20 @@ 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-test = "4.2.0"
 micronaut-data = "4.4.1"
-micronaut-hibernate-validator = "4.1.0"
+micronaut-hibernate-validator = "4.2.0"
 micronaut-logging = "1.1.2"
 micronaut-r2dbc = "5.2.0"
 micronaut-serde = "2.7.0"
-micronaut-spring = "5.4.0"
+micronaut-spring = "5.4.1"
 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/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 1af9e093..a80b22ce 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
 networkTimeout=10000
 validateDistributionUrl=true
 zipStoreBase=GRADLE_USER_HOME
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)
     }
 }