From 556e2c07af39d49982739e7122f7c8a62be96e4d Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Tue, 2 Jul 2024 00:05:27 +0200 Subject: [PATCH] Revert "SONAR-22447 jakarta-annotation-api version bump" This reverts commit f4ea3e9ab60aad9d268aad316f8fb13f1c54aa8b. --- build.gradle | 2 +- sonar-core/build.gradle | 2 +- sonar-scanner-engine/build.gradle | 2 +- sonar-ws/build.gradle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 7717d984161..051ffa1b834 100644 --- a/build.gradle +++ b/build.gradle @@ -365,7 +365,7 @@ subprojects { dependency 'com.auth0:java-jwt:4.4.0' dependency 'io.netty:netty-all:4.1.111.Final' dependency 'com.sun.mail:jakarta.mail:1.6.7' - dependency 'jakarta.annotation:jakarta.annotation-api:1.3.5' + dependency 'javax.annotation:javax.annotation-api:1.3.2' dependency 'javax.inject:javax.inject:1' dependency 'javax.servlet:javax.servlet-api:4.0.1' dependency 'jakarta.xml.bind:jakarta.xml.bind-api:2.3.3' diff --git a/sonar-core/build.gradle b/sonar-core/build.gradle index 24a2451fd5d..e14941e5f6c 100644 --- a/sonar-core/build.gradle +++ b/sonar-core/build.gradle @@ -15,7 +15,7 @@ dependencies { api 'commons-codec:commons-codec' api 'commons-io:commons-io' api 'org.apache.commons:commons-lang3' - api 'jakarta.annotation:jakarta.annotation-api' + api 'javax.annotation:javax.annotation-api' api 'javax.inject:javax.inject' api 'org.slf4j:slf4j-api' api 'org.sonarsource.api.plugin:sonar-plugin-api' diff --git a/sonar-scanner-engine/build.gradle b/sonar-scanner-engine/build.gradle index 1708745ba6d..9963db68df4 100644 --- a/sonar-scanner-engine/build.gradle +++ b/sonar-scanner-engine/build.gradle @@ -28,7 +28,7 @@ dependencies { api 'com.squareup.okhttp3:okhttp' api 'com.fasterxml.staxmate:staxmate' implementation 'io.github.hakky54:sslcontext-kickstart' - api 'jakarta.annotation:jakarta.annotation-api' + api 'javax.annotation:javax.annotation-api' api 'org.eclipse.jgit:org.eclipse.jgit' api 'org.tmatesoft.svnkit:svnkit' api 'org.slf4j:jcl-over-slf4j' diff --git a/sonar-ws/build.gradle b/sonar-ws/build.gradle index 1655b33115c..b443bf860e6 100644 --- a/sonar-ws/build.gradle +++ b/sonar-ws/build.gradle @@ -19,7 +19,7 @@ dependencies { api 'org.sonarsource.api.plugin:sonar-plugin-api' compileOnlyApi 'com.github.spotbugs:spotbugs-annotations' - compileOnlyApi 'jakarta.annotation:jakarta.annotation-api' + compileOnlyApi 'javax.annotation:javax.annotation-api' testImplementation 'com.squareup.okhttp3:mockwebserver' testImplementation 'com.squareup.okio:okio' -- 2.39.5