aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin
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 /plugins/sonar-xoo-plugin
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-rw-r--r--plugins/sonar-xoo-plugin/build.gradle22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/sonar-xoo-plugin/build.gradle b/plugins/sonar-xoo-plugin/build.gradle
index f194b7d1786..2b00deaa50f 100644
--- a/plugins/sonar-xoo-plugin/build.gradle
+++ b/plugins/sonar-xoo-plugin/build.gradle
@@ -1,20 +1,20 @@
configurations {
- testImplementation.extendsFrom(compileOnly)
+ testImplementation.extendsFrom(compileOnlyApi)
}
dependencies {
- compile 'com.google.guava:guava'
- compile 'commons-io:commons-io'
- compile 'commons-lang:commons-lang'
- compile 'org.apache.commons:commons-csv'
+ api 'com.google.guava:guava'
+ api 'commons-io:commons-io'
+ api 'commons-lang:commons-lang'
+ api 'org.apache.commons:commons-csv'
- compileOnly 'com.google.code.findbugs:jsr305'
- compileOnly 'org.sonarsource.api.plugin:sonar-plugin-api'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
- testCompile 'junit:junit'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.mockito:mockito-core'
- testCompile project(':sonar-plugin-api-impl')
+ testImplementation 'junit:junit'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation project(':sonar-plugin-api-impl')
}
jar {