Repository: micronaut-projects/micronaut-test
Pull request #945 (2024-02-05 22:03:31)

fix(deps): update dependency io.micronaut.library:io.micronaut.library.gradle.plugin to v4.3.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.library:io.micronaut.library.gradle.plugin | `4.2.1` -> `4.3.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.micronaut.library:io.micronaut.library.gradle.plugin/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micronaut.library:io.micronaut.library.gradle.plugin/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micronaut.library:io.micronaut.library.gradle.plugin/4.2.1/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micronaut.library:io.micronaut.library.gradle.plugin/4.2.1/4.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->


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

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


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

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



Patch:
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index b730e14d..ce6173b2 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -15,7 +15,6 @@ managed-spock = "2.3-groovy-4.0"
 
 kotlin = "1.9.22"
 graal-svm = "23.1.1"
-testcontainers = "1.19.3"
 
 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..a70f5462 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -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)
     }
 }