aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl/build.gradle
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-plugin-api-impl/build.gradle
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'sonar-plugin-api-impl/build.gradle')
-rw-r--r--sonar-plugin-api-impl/build.gradle24
1 files changed, 12 insertions, 12 deletions
diff --git a/sonar-plugin-api-impl/build.gradle b/sonar-plugin-api-impl/build.gradle
index 5c69debac0f..3b9fde8eced 100644
--- a/sonar-plugin-api-impl/build.gradle
+++ b/sonar-plugin-api-impl/build.gradle
@@ -7,22 +7,22 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name
- compile 'commons-codec:commons-codec'
- compile 'commons-io:commons-io'
- compile 'commons-lang:commons-lang'
- compile 'org.apache.commons:commons-csv'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api 'commons-codec:commons-codec'
+ api 'commons-io:commons-io'
+ api 'commons-lang:commons-lang'
+ api 'org.apache.commons:commons-csv'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
- compileOnly 'com.google.code.findbugs:jsr305'
- compileOnly 'junit:junit'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'junit:junit'
testCompileOnly 'com.google.code.findbugs:jsr305'
- testCompile 'com.google.guava:guava'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'junit:junit'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.mockito:mockito-core'
+ testImplementation 'com.google.guava:guava'
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+ testImplementation 'junit:junit'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.mockito:mockito-core'
}
import org.apache.tools.ant.filters.ReplaceTokens