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-testing-harness/build.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sonar-testing-harness') diff --git a/sonar-testing-harness/build.gradle b/sonar-testing-harness/build.gradle index 40c523c8bdb..7826c3bdba9 100644 --- a/sonar-testing-harness/build.gradle +++ b/sonar-testing-harness/build.gradle @@ -7,16 +7,16 @@ sonar { dependencies { // please keep list ordered - compile 'com.google.code.gson:gson' - compile 'com.googlecode.json-simple:json-simple' - compile 'com.sun.mail:javax.mail' - compile 'commons-io:commons-io' - compile 'junit:junit' - compile 'org.assertj:assertj-core' - compile 'org.jsoup:jsoup' - compile 'org.mockito:mockito-core' + api 'com.google.code.gson:gson' + api 'com.googlecode.json-simple:json-simple' + api 'com.sun.mail:javax.mail' + api 'commons-io:commons-io' + api 'junit:junit' + api 'org.assertj:assertj-core' + api 'org.jsoup:jsoup' + api 'org.mockito:mockito-core' - compileOnly 'com.google.code.findbugs:jsr305' + compileOnlyApi 'com.google.code.findbugs:jsr305' } artifactoryPublish.skip = false -- cgit v1.2.3