aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
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 /sonar-ws
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/build.gradle32
1 files changed, 16 insertions, 16 deletions
diff --git a/sonar-ws/build.gradle b/sonar-ws/build.gradle
index 40ecc959ab8..01338797055 100644
--- a/sonar-ws/build.gradle
+++ b/sonar-ws/build.gradle
@@ -6,29 +6,29 @@ sonar {
}
configurations {
- testImplementation.extendsFrom(compileOnly)
+ testImplementation.extendsFrom(compileOnlyApi)
}
dependencies {
// please keep list ordered
- compile 'com.google.protobuf:protobuf-java'
- compile 'com.squareup.okhttp3:okhttp'
- compile 'com.google.code.gson:gson'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api 'com.google.protobuf:protobuf-java'
+ api 'com.squareup.okhttp3:okhttp'
+ api 'com.google.code.gson:gson'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
- compileOnly 'com.google.code.findbugs:jsr305'
- compileOnly 'javax.annotation:javax.annotation-api'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'javax.annotation:javax.annotation-api'
- testCompile 'com.squareup.okhttp3:mockwebserver'
- testCompile 'com.squareup.okio:okio'
- testCompile 'commons-io:commons-io'
- testCompile 'commons-lang:commons-lang'
- testCompile 'junit:junit'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.hamcrest:hamcrest-core'
- testCompile 'org.mockito:mockito-core'
- testCompile project(':sonar-testing-harness')
+ testImplementation 'com.squareup.okhttp3:mockwebserver'
+ testImplementation 'com.squareup.okio:okio'
+ testImplementation 'commons-io:commons-io'
+ testImplementation 'commons-lang:commons-lang'
+ testImplementation 'junit:junit'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.hamcrest:hamcrest-core'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation project(':sonar-testing-harness')
}
artifactoryPublish.skip = false