Repository: micronaut-projects/micronaut-test
Pull request #806 (2023-06-30 19:48:58)

Enable binary compatibility check

sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=806)

[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=BUG)  
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=VULNERABILITY)  
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=SECURITY_HOTSPOT)  
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=806&resolved=false&types=CODE_SMELL)

[![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=micronaut-projects_micronaut-test&pullRequest=806&metric=coverage&view=list) No Coverage information  
[![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=micronaut-projects_micronaut-test&pullRequest=806&metric=duplicated_lines_density&view=list) No Duplication information



Patch:
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 3975bde7..a4630781 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,6 +1,6 @@
 [versions]
 micronaut-docs = "2.0.0"
-micronaut = "4.0.0-RC1"
+micronaut = "4.0.0-RC4"
 
 groovy = "4.0.11"
 
@@ -9,7 +9,7 @@ managed-hamcrest = "2.2"
 managed-mockito = "5.3.1"
 managed-mockk = "1.13.5"
 managed-junit = "5.9.3"
-managed-rest-assured = "5.3.0"
+managed-rest-assured = "5.3.1"
 managed-kotest = "5.6.2"
 managed-spock = "2.3-groovy-4.0"
 
@@ -19,8 +19,8 @@ graal-svm = "23.0.0"
 micronaut-data = "4.0.0-M7"
 micronaut-hibernate-validator = "4.0.0-M7"
 micronaut-serde = "2.0.0-M12"
-micronaut-spring = "5.0.0-M3"
-micronaut-sql = "5.0.0-M9"
+micronaut-spring = "5.0.0-M6"
+micronaut-sql = "5.0.0-M12"
 micronaut-reactor = "3.0.0-M8"
 
 micronaut-gradle-plugin = "4.0.0-M4"
diff --git a/settings.gradle b/settings.gradle
index 6ffa1fb1..a24ad138 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -6,7 +6,7 @@ pluginManagement {
 }
 
 plugins {
-    id("io.micronaut.build.shared.settings") version "6.5.0"
+    id("io.micronaut.build.shared.settings") version "6.5.3"
 }
 
 enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS'


Test patch:
diff --git a/buildSrc/src/main/groovy/io.micronaut.build.internal.micronaut-test-module.gradle b/buildSrc/src/main/groovy/io.micronaut.build.internal.micronaut-test-module.gradle
index eed740e3..6bab1fdb 100644
--- a/buildSrc/src/main/groovy/io.micronaut.build.internal.micronaut-test-module.gradle
+++ b/buildSrc/src/main/groovy/io.micronaut.build.internal.micronaut-test-module.gradle
@@ -21,11 +21,3 @@ configurations.all {
         }
     }
 }
-
-// TODO temporarily disable binary compatibility checks
-micronautBuild {
-    binaryCompatibility {
-        def (major, minor, _) = version.split("\\.")
-        enabled = Integer.parseInt(major) >= 4 && Integer.parseInt(minor) > 0
-    }
-}