aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce-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-ce-common
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-ce-common')
-rw-r--r--server/sonar-ce-common/build.gradle44
1 files changed, 22 insertions, 22 deletions
diff --git a/server/sonar-ce-common/build.gradle b/server/sonar-ce-common/build.gradle
index 207e2e46ad2..20e6562ad0b 100644
--- a/server/sonar-ce-common/build.gradle
+++ b/server/sonar-ce-common/build.gradle
@@ -25,31 +25,31 @@ processResources {
}
configurations {
- testImplementation.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnlyApi
}
dependencies {
// please keep the list grouped by configuration and ordered by name
- compile 'com.google.guava:guava'
- compile 'org.slf4j:jul-to-slf4j'
- compile 'org.slf4j:slf4j-api'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
- compile project(':server:sonar-ce-task')
- compile project(':server:sonar-server-common')
- compile project(':sonar-core')
-
- compileOnly 'com.google.code.findbugs:jsr305'
-
- testCompile 'com.google.code.findbugs:jsr305'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'commons-lang:commons-lang'
- testCompile 'junit:junit'
- testCompile 'org.apache.logging.log4j:log4j-api'
- testCompile 'org.apache.logging.log4j:log4j-core'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.assertj:assertj-guava'
- testCompile 'org.hamcrest:hamcrest-all'
- testCompile project(':sonar-plugin-api-impl')
- testCompile testFixtures(project(':server:sonar-server-common'))
+ api 'com.google.guava:guava'
+ api 'org.slf4j:jul-to-slf4j'
+ api 'org.slf4j:slf4j-api'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api project(':server:sonar-ce-task')
+ api project(':server:sonar-server-common')
+ api project(':sonar-core')
+
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+
+ testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+ testImplementation 'commons-lang:commons-lang'
+ testImplementation 'junit:junit'
+ testImplementation 'org.apache.logging.log4j:log4j-api'
+ testImplementation 'org.apache.logging.log4j:log4j-core'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.assertj:assertj-guava'
+ testImplementation 'org.hamcrest:hamcrest-all'
+ testImplementation project(':sonar-plugin-api-impl')
+ testImplementation testFixtures(project(':server:sonar-server-common'))
}