diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2022-11-25 10:24:46 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-12-01 20:03:11 +0000 |
commit | e8e5f48ffdf812693d80299bae1e2e456c79236b (patch) | |
tree | a3a54424cafbcf0a156545d9fcb09399069515ee /server/sonar-webserver-pushapi | |
parent | e4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff) | |
download | sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip |
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-webserver-pushapi')
-rw-r--r-- | server/sonar-webserver-pushapi/build.gradle | 20 |
1 files changed, 10 insertions, 10 deletions
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')) |