From: Matteo Mara Date: Mon, 1 Jul 2024 12:00:29 +0000 (+0200) Subject: SONAR-22447 Moved from hamcrest-all to hamcrest plus major version bump X-Git-Tag: 10.7.0.96327~382 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a6cf9b76088af373d81f6d61d1237fd4b6a501c;p=sonarqube.git SONAR-22447 Moved from hamcrest-all to hamcrest plus major version bump --- diff --git a/build.gradle b/build.gradle index d209625b471..f969847968f 100644 --- a/build.gradle +++ b/build.gradle @@ -436,7 +436,7 @@ subprojects { dependency "org.codelibs.elasticsearch.module:analysis-common:7.17.22" dependency "org.codelibs.elasticsearch.module:reindex:7.17.22" dependency 'org.tmatesoft.svnkit:svnkit:1.10.11' - dependency 'org.hamcrest:hamcrest-all:1.3' + dependency 'org.hamcrest:hamcrest:2.2' dependency 'org.jsoup:jsoup:1.17.2' dependency 'org.mindrot:jbcrypt:0.4' dependency('org.mockito:mockito-core:5.12.0') { diff --git a/server/sonar-ce-common/build.gradle b/server/sonar-ce-common/build.gradle index f011ec9da60..b0bef68d6f7 100644 --- a/server/sonar-ce-common/build.gradle +++ b/server/sonar-ce-common/build.gradle @@ -49,7 +49,7 @@ dependencies { testImplementation 'org.apache.logging.log4j:log4j-core' testImplementation 'org.assertj:assertj-core' testImplementation 'org.assertj:assertj-guava' - testImplementation 'org.hamcrest:hamcrest-all' + testImplementation 'org.hamcrest:hamcrest' testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.mockito:mockito-core' testImplementation project(':sonar-plugin-api-impl') diff --git a/server/sonar-webserver-core/build.gradle b/server/sonar-webserver-core/build.gradle index 390aa4b6a1d..73e839ac0f1 100644 --- a/server/sonar-webserver-core/build.gradle +++ b/server/sonar-webserver-core/build.gradle @@ -67,7 +67,7 @@ dependencies { testImplementation 'org.assertj:assertj-guava' testImplementation 'org.eclipse.jetty:jetty-server' testImplementation 'org.eclipse.jetty:jetty-servlet' - testImplementation 'org.hamcrest:hamcrest-all' + testImplementation 'org.hamcrest:hamcrest' testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.mockito:mockito-core' testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'