aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-es
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2022-11-25 10:24:46 +0100
committersonartech <sonartech@sonarsource.com>2022-12-01 20:03:11 +0000
commite8e5f48ffdf812693d80299bae1e2e456c79236b (patch)
treea3a54424cafbcf0a156545d9fcb09399069515ee /server/sonar-webserver-es
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-webserver-es')
-rw-r--r--server/sonar-webserver-es/build.gradle28
1 files changed, 14 insertions, 14 deletions
diff --git a/server/sonar-webserver-es/build.gradle b/server/sonar-webserver-es/build.gradle
index 8acb0712834..83b559a8b8e 100644
--- a/server/sonar-webserver-es/build.gradle
+++ b/server/sonar-webserver-es/build.gradle
@@ -7,22 +7,22 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name
- compile 'com.google.guava:guava'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
- compile project(':server:sonar-server-common')
- compile project(':server:sonar-webserver-auth')
+ api 'com.google.guava:guava'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api project(':server:sonar-server-common')
+ api project(':server:sonar-webserver-auth')
- compileOnly 'com.google.code.findbugs:jsr305'
- compileOnly 'javax.servlet:javax.servlet-api'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'javax.servlet:javax.servlet-api'
- testCompile 'org.apache.logging.log4j:log4j-api'
- testCompile 'org.apache.logging.log4j:log4j-core'
- testCompile 'org.assertj:assertj-guava'
- testCompile 'com.google.code.findbugs:jsr305'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'org.mockito:mockito-core'
- testCompile testFixtures(project(':server:sonar-webserver-auth'))
- testCompile project(':sonar-testing-harness')
+ 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.tngtech.java:junit-dataprovider'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation testFixtures(project(':server:sonar-webserver-auth'))
+ testImplementation project(':sonar-testing-harness')
testFixturesApi testFixtures(project(':server:sonar-server-common'))
}