aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-common
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-server-common
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-server-common')
-rw-r--r--server/sonar-server-common/build.gradle60
1 files changed, 30 insertions, 30 deletions
diff --git a/server/sonar-server-common/build.gradle b/server/sonar-server-common/build.gradle
index 4591dcd9bfc..4f6caafbbb4 100644
--- a/server/sonar-server-common/build.gradle
+++ b/server/sonar-server-common/build.gradle
@@ -9,38 +9,38 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name
- compile 'org.apache.commons:commons-email'
- compile 'commons-io:commons-io'
- compile 'commons-lang:commons-lang'
- compile 'com.google.guava:guava'
- compile 'org.slf4j:slf4j-api'
- compile 'com.squareup.okhttp3:okhttp'
- compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
- compile project(':server:sonar-db-dao')
- compile project(':server:sonar-db-migration')
- compile project(':server:sonar-process')
- compile project(':sonar-core')
- compile project(':sonar-markdown')
- compile project(':sonar-ws')
+ api 'org.apache.commons:commons-email'
+ api 'commons-io:commons-io'
+ api 'commons-lang:commons-lang'
+ api 'com.google.guava:guava'
+ api 'org.slf4j:slf4j-api'
+ api 'com.squareup.okhttp3:okhttp'
+ api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api project(':server:sonar-db-dao')
+ api project(':server:sonar-db-migration')
+ api project(':server:sonar-process')
+ api project(':sonar-core')
+ api project(':sonar-markdown')
+ api project(':sonar-ws')
- compileOnly 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
- testCompile 'org.elasticsearch.plugin:transport-netty4-client'
- testCompile 'ch.qos.logback:logback-core'
- testCompile 'com.google.code.findbugs:jsr305'
- testCompile 'com.squareup.okhttp3:mockwebserver'
- testCompile 'com.squareup.okio:okio'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'junit:junit'
- testCompile 'org.apache.logging.log4j:log4j-api'
- testCompile 'org.apache.logging.log4j:log4j-core'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.hamcrest:hamcrest-core'
- testCompile 'org.mockito:mockito-core'
- testCompile testFixtures(project(':server:sonar-db-dao'))
- testCompile project(':sonar-plugin-api-impl')
- testCompile project(':sonar-testing-harness')
+ testImplementation 'org.elasticsearch.plugin:transport-netty4-client'
+ testImplementation 'ch.qos.logback:logback-core'
+ testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.squareup.okhttp3:mockwebserver'
+ testImplementation 'com.squareup.okio:okio'
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+ testImplementation 'junit:junit'
+ testImplementation 'org.apache.logging.log4j:log4j-api'
+ testImplementation 'org.apache.logging.log4j:log4j-core'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.hamcrest:hamcrest-core'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation testFixtures(project(':server:sonar-db-dao'))
+ testImplementation project(':sonar-plugin-api-impl')
+ testImplementation project(':sonar-testing-harness')
testFixturesApi 'junit:junit'
testFixturesApi testFixtures(project(':server:sonar-db-dao'))