aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-auth-bitbucket/build.gradle2
-rw-r--r--server/sonar-auth-common/build.gradle2
-rw-r--r--server/sonar-auth-github/build.gradle2
-rw-r--r--server/sonar-auth-gitlab/build.gradle2
-rw-r--r--server/sonar-auth-ldap/build.gradle2
-rw-r--r--server/sonar-auth-saml/build.gradle2
-rw-r--r--server/sonar-ce-common/build.gradle4
-rw-r--r--server/sonar-ce-task-projectanalysis/build.gradle8
-rw-r--r--server/sonar-ce-task/build.gradle6
-rw-r--r--server/sonar-ce/build.gradle4
-rw-r--r--server/sonar-db-core/build.gradle6
-rw-r--r--server/sonar-db-dao/build.gradle6
-rw-r--r--server/sonar-db-migration/build.gradle4
-rw-r--r--server/sonar-main/build.gradle4
-rw-r--r--server/sonar-process/build.gradle4
-rw-r--r--server/sonar-server-common/build.gradle6
-rw-r--r--server/sonar-webserver-api/build.gradle6
-rw-r--r--server/sonar-webserver-auth/build.gradle6
-rw-r--r--server/sonar-webserver-common/build.gradle4
-rw-r--r--server/sonar-webserver-core/build.gradle4
-rw-r--r--server/sonar-webserver-es/build.gradle4
-rw-r--r--server/sonar-webserver-webapi/build.gradle4
-rw-r--r--server/sonar-webserver-ws/build.gradle6
-rw-r--r--server/sonar-webserver/build.gradle4
24 files changed, 51 insertions, 51 deletions
diff --git a/server/sonar-auth-bitbucket/build.gradle b/server/sonar-auth-bitbucket/build.gradle
index 8329723c6e2..f4a24eb53bf 100644
--- a/server/sonar-auth-bitbucket/build.gradle
+++ b/server/sonar-auth-bitbucket/build.gradle
@@ -12,7 +12,7 @@ dependencies {
api 'com.google.code.gson:gson'
api project(':server:sonar-auth-common')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')
diff --git a/server/sonar-auth-common/build.gradle b/server/sonar-auth-common/build.gradle
index bbdf7b48d3a..56d3b03da1b 100644
--- a/server/sonar-auth-common/build.gradle
+++ b/server/sonar-auth-common/build.gradle
@@ -10,7 +10,7 @@ dependencies {
api 'com.github.scribejava:scribejava-apis'
api 'com.github.scribejava:scribejava-core'
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'org.apache.commons:commons-lang3'
testImplementation 'com.squareup.okhttp3:mockwebserver'
diff --git a/server/sonar-auth-github/build.gradle b/server/sonar-auth-github/build.gradle
index f62727c885c..506b127cd92 100644
--- a/server/sonar-auth-github/build.gradle
+++ b/server/sonar-auth-github/build.gradle
@@ -13,7 +13,7 @@ dependencies {
api project(':server:sonar-auth-common')
api project(':server:sonar-server-common')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')
diff --git a/server/sonar-auth-gitlab/build.gradle b/server/sonar-auth-gitlab/build.gradle
index 9a0574fd46e..b2922a4b638 100644
--- a/server/sonar-auth-gitlab/build.gradle
+++ b/server/sonar-auth-gitlab/build.gradle
@@ -13,7 +13,7 @@ dependencies {
api project(':server:sonar-auth-common')
api project(':server:sonar-server-common')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')
diff --git a/server/sonar-auth-ldap/build.gradle b/server/sonar-auth-ldap/build.gradle
index 510579ad443..e0c91dc532e 100644
--- a/server/sonar-auth-ldap/build.gradle
+++ b/server/sonar-auth-ldap/build.gradle
@@ -9,7 +9,7 @@ dependencies {
api 'org.apache.commons:commons-lang3'
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':server:sonar-process')
compileOnlyApi project(':sonar-core')
diff --git a/server/sonar-auth-saml/build.gradle b/server/sonar-auth-saml/build.gradle
index b60388a15c8..9a5db10e781 100644
--- a/server/sonar-auth-saml/build.gradle
+++ b/server/sonar-auth-saml/build.gradle
@@ -9,7 +9,7 @@ dependencies {
api "com.onelogin:java-saml"
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi 'org.json:json'
diff --git a/server/sonar-ce-common/build.gradle b/server/sonar-ce-common/build.gradle
index 1ae3c93d58d..f011ec9da60 100644
--- a/server/sonar-ce-common/build.gradle
+++ b/server/sonar-ce-common/build.gradle
@@ -39,9 +39,9 @@ dependencies {
api project(':server:sonar-server-common')
api project(':sonar-core')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.apache.commons:commons-lang3'
testImplementation 'junit:junit'
diff --git a/server/sonar-ce-task-projectanalysis/build.gradle b/server/sonar-ce-task-projectanalysis/build.gradle
index 4cca46f43b0..604a1026213 100644
--- a/server/sonar-ce-task-projectanalysis/build.gradle
+++ b/server/sonar-ce-task-projectanalysis/build.gradle
@@ -26,7 +26,7 @@ dependencies {
implementation 'org.apache.commons:commons-text'
api 'com.google.code.gson:gson'
api 'com.google.guava:guava'
- api 'com.google.code.findbugs:jsr305'
+ api 'com.github.spotbugs:spotbugs-annotations'
api 'com.google.protobuf:protobuf-java'
api 'com.googlecode.java-diff-utils:diffutils'
api 'org.mybatis:mybatis'
@@ -42,11 +42,11 @@ dependencies {
api project(':sonar-duplications')
api project(':sonar-scanner-protocol')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
api project(':server:sonar-db-dao')
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
@@ -65,7 +65,7 @@ dependencies {
testFixturesApi 'org.mockito:mockito-core'
testFixturesApi testFixtures(project(':server:sonar-ce-task'))
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
diff --git a/server/sonar-ce-task/build.gradle b/server/sonar-ce-task/build.gradle
index ade8647bbd6..88959d6a1ab 100644
--- a/server/sonar-ce-task/build.gradle
+++ b/server/sonar-ce-task/build.gradle
@@ -24,13 +24,13 @@ dependencies {
api project(':server:sonar-server-common')
api project(':sonar-core')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
testImplementation 'ch.qos.logback:logback-access'
testImplementation 'ch.qos.logback:logback-classic'
testImplementation 'ch.qos.logback:logback-core'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.apache.logging.log4j:log4j-api'
@@ -44,7 +44,7 @@ dependencies {
testFixturesApi 'org.assertj:assertj-core'
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
diff --git a/server/sonar-ce/build.gradle b/server/sonar-ce/build.gradle
index 14b8794e61a..ac8a5f9ed06 100644
--- a/server/sonar-ce/build.gradle
+++ b/server/sonar-ce/build.gradle
@@ -24,9 +24,9 @@ dependencies {
api project(':sonar-plugin-api-impl')
api project(':sonar-ws')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
diff --git a/server/sonar-db-core/build.gradle b/server/sonar-db-core/build.gradle
index c5de4301b8e..1fd40cd6a70 100644
--- a/server/sonar-db-core/build.gradle
+++ b/server/sonar-db-core/build.gradle
@@ -19,9 +19,9 @@ dependencies {
api project(':server:sonar-process')
api project(':sonar-plugin-api-impl')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.h2database:h2'
testImplementation 'com.microsoft.sqlserver:mssql-jdbc'
testImplementation 'com.oracle.database.jdbc:ojdbc11'
@@ -48,7 +48,7 @@ dependencies {
testFixturesImplementation 'com.oracle.database.jdbc:ojdbc11'
testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
}
test {
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle
index a75979c4356..527bac05be9 100644
--- a/server/sonar-db-dao/build.gradle
+++ b/server/sonar-db-dao/build.gradle
@@ -19,7 +19,7 @@ dependencies {
api project(':server:sonar-db-migration')
api project(':sonar-core')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'commons-dbutils:commons-dbutils'
testImplementation 'org.assertj:assertj-core'
@@ -32,7 +32,7 @@ dependencies {
testImplementation project(':sonar-testing-harness')
testImplementation project(':sonar-plugin-api-impl')
- testCompileOnly 'com.google.code.findbugs:jsr305'
+ testCompileOnly 'com.github.spotbugs:spotbugs-annotations'
testRuntimeOnly 'com.h2database:h2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
@@ -48,7 +48,7 @@ dependencies {
testFixturesImplementation 'com.h2database:h2'
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
}
test {
diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle
index e2d0de9954c..5d46f5b0264 100644
--- a/server/sonar-db-migration/build.gradle
+++ b/server/sonar-db-migration/build.gradle
@@ -16,9 +16,9 @@ dependencies {
api project(':server:sonar-process')
api project(':sonar-core')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'commons-dbutils:commons-dbutils'
testImplementation 'com.squareup.okhttp3:mockwebserver'
diff --git a/server/sonar-main/build.gradle b/server/sonar-main/build.gradle
index f1d2436176b..e1e567a0e9a 100644
--- a/server/sonar-main/build.gradle
+++ b/server/sonar-main/build.gradle
@@ -25,9 +25,9 @@ dependencies {
api project(':server:sonar-process')
api project(':sonar-core')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
diff --git a/server/sonar-process/build.gradle b/server/sonar-process/build.gradle
index 927d3fefaaf..4b9d4a46a00 100644
--- a/server/sonar-process/build.gradle
+++ b/server/sonar-process/build.gradle
@@ -21,9 +21,9 @@ dependencies {
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':sonar-core')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.google.protobuf:protobuf-java'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
diff --git a/server/sonar-server-common/build.gradle b/server/sonar-server-common/build.gradle
index d019caad292..3ad43d2a9c0 100644
--- a/server/sonar-server-common/build.gradle
+++ b/server/sonar-server-common/build.gradle
@@ -25,10 +25,10 @@ dependencies {
api project(':sonar-markdown')
api project(':sonar-ws')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'org.elasticsearch.plugin:transport-netty4-client'
testImplementation 'ch.qos.logback:logback-core'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'org.subethamail:subethasmtp'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okhttp3:okhttp-tls'
@@ -51,7 +51,7 @@ dependencies {
testFixturesApi 'junit:junit'
testFixturesApi testFixtures(project(':server:sonar-db-dao'))
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
testFixturesImplementation 'org.elasticsearch.plugin:transport-netty4-client'
testFixturesImplementation 'org.codelibs.elasticsearch.module:analysis-common'
testFixturesImplementation 'org.codelibs.elasticsearch.module:reindex'
diff --git a/server/sonar-webserver-api/build.gradle b/server/sonar-webserver-api/build.gradle
index 219be3e9683..15a4d2e782d 100644
--- a/server/sonar-webserver-api/build.gradle
+++ b/server/sonar-webserver-api/build.gradle
@@ -27,11 +27,11 @@ dependencies {
api project(':sonar-plugin-api-impl')
api 'org.mindrot:jbcrypt'
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'org.assertj:assertj-guava'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'javax.servlet:javax.servlet-api'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
@@ -42,7 +42,7 @@ dependencies {
testFixturesApi 'junit:junit'
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
diff --git a/server/sonar-webserver-auth/build.gradle b/server/sonar-webserver-auth/build.gradle
index 935a1a2abc3..6a4d5091c05 100644
--- a/server/sonar-webserver-auth/build.gradle
+++ b/server/sonar-webserver-auth/build.gradle
@@ -20,7 +20,7 @@ dependencies {
api project(':server:sonar-auth-ldap')
api 'org.mindrot:jbcrypt'
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'com.tngtech.java:junit-dataprovider'
@@ -34,13 +34,13 @@ dependencies {
testImplementation testFixtures(project(':server:sonar-server-common'))
testImplementation project(':sonar-testing-harness')
- testCompileOnly 'com.google.code.findbugs:jsr305'
+ testCompileOnly 'com.github.spotbugs:spotbugs-annotations'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson'
testFixturesApi 'junit:junit'
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
testFixturesCompileOnly 'org.junit.jupiter:junit-jupiter-api'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
diff --git a/server/sonar-webserver-common/build.gradle b/server/sonar-webserver-common/build.gradle
index 89ce2803657..ab17221b877 100644
--- a/server/sonar-webserver-common/build.gradle
+++ b/server/sonar-webserver-common/build.gradle
@@ -14,12 +14,12 @@ dependencies {
implementation project(path: ':server:sonar-auth-gitlab')
implementation project(path: ':server:sonar-alm-client')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
diff --git a/server/sonar-webserver-core/build.gradle b/server/sonar-webserver-core/build.gradle
index 4ea552a5129..390aa4b6a1d 100644
--- a/server/sonar-webserver-core/build.gradle
+++ b/server/sonar-webserver-core/build.gradle
@@ -52,11 +52,11 @@ dependencies {
api project(':sonar-ws')
implementation project(path: ':server:sonar-webserver-webapi')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
// not a transitive dep. At runtime lib/jdbc/h2 is used
compileOnlyApi 'com.h2database:h2'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.h2database:h2'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.tngtech.java:junit-dataprovider'
diff --git a/server/sonar-webserver-es/build.gradle b/server/sonar-webserver-es/build.gradle
index ad7e297b05d..01c88349af0 100644
--- a/server/sonar-webserver-es/build.gradle
+++ b/server/sonar-webserver-es/build.gradle
@@ -12,13 +12,13 @@ dependencies {
api project(':server:sonar-server-common')
api project(':server:sonar-webserver-auth')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-core'
diff --git a/server/sonar-webserver-webapi/build.gradle b/server/sonar-webserver-webapi/build.gradle
index 9e924b126cf..12ce4109fbd 100644
--- a/server/sonar-webserver-webapi/build.gradle
+++ b/server/sonar-webserver-webapi/build.gradle
@@ -28,13 +28,13 @@ dependencies {
}
api project(':sonar-scanner-protocol')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'javax.servlet:javax.servlet-api'
diff --git a/server/sonar-webserver-ws/build.gradle b/server/sonar-webserver-ws/build.gradle
index 3a2418226b1..f6f5c198f0d 100644
--- a/server/sonar-webserver-ws/build.gradle
+++ b/server/sonar-webserver-ws/build.gradle
@@ -16,13 +16,13 @@ dependencies {
api project(':sonar-plugin-api-impl')
api project(':sonar-ws')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi 'org.apache.tomcat.embed:tomcat-embed-core'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'javax.servlet:javax.servlet-api'
testImplementation 'org.apache.tomcat.embed:tomcat-embed-core'
testImplementation 'org.mockito:mockito-core'
@@ -30,5 +30,5 @@ dependencies {
testFixturesApi project(':sonar-testing-harness')
- testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
+ testFixturesCompileOnly 'com.github.spotbugs:spotbugs-annotations'
}
diff --git a/server/sonar-webserver/build.gradle b/server/sonar-webserver/build.gradle
index a6ee7f7fad8..ab1bd8f4715 100644
--- a/server/sonar-webserver/build.gradle
+++ b/server/sonar-webserver/build.gradle
@@ -25,11 +25,11 @@ dependencies {
api project(':server:sonar-webserver-pushapi')
api project(':server:sonar-webserver-monitoring')
- compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
- testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.github.spotbugs:spotbugs-annotations'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mockito:mockito-core'