From e8e5f48ffdf812693d80299bae1e2e456c79236b Mon Sep 17 00:00:00 2001 From: Zipeng WU Date: Fri, 25 Nov 2022 10:24:46 +0100 Subject: SONAR-15595 Replace Gradle deprecated dependency scopes --- sonar-plugin-api-impl/build.gradle | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'sonar-plugin-api-impl') 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 -- cgit v1.2.3