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 --- server/sonar-webserver-pushapi/build.gradle | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'server/sonar-webserver-pushapi') diff --git a/server/sonar-webserver-pushapi/build.gradle b/server/sonar-webserver-pushapi/build.gradle index de2feba9561..d9aec037bc1 100644 --- a/server/sonar-webserver-pushapi/build.gradle +++ b/server/sonar-webserver-pushapi/build.gradle @@ -5,18 +5,18 @@ sonar { } dependencies { - compile 'javax.servlet:javax.servlet-api' - compile 'org.json:json' + api 'javax.servlet:javax.servlet-api' + api 'org.json:json' - compile project(':server:sonar-webserver-ws') - compile project(':server:sonar-webserver-auth') + api project(':server:sonar-webserver-ws') + api project(':server:sonar-webserver-auth') - testCompile 'junit:junit' - testCompile 'org.assertj:assertj-core' - testCompile 'org.mockito:mockito-core' - testCompile 'org.awaitility:awaitility' - testCompile testFixtures(project(':server:sonar-webserver-ws')) - testCompile testFixtures(project(':server:sonar-db-dao')) + testImplementation 'junit:junit' + testImplementation 'org.assertj:assertj-core' + testImplementation 'org.mockito:mockito-core' + testImplementation 'org.awaitility:awaitility' + testImplementation testFixtures(project(':server:sonar-webserver-ws')) + testImplementation testFixtures(project(':server:sonar-db-dao')) testFixturesApi project(':sonar-testing-harness') testFixturesCompileOnly testFixtures(project(':server:sonar-webserver-ws')) -- cgit v1.2.3