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-ws | |
parent | e4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff) | |
download | sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip |
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-webserver-ws')
-rw-r--r-- | server/sonar-webserver-ws/build.gradle | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/server/sonar-webserver-ws/build.gradle b/server/sonar-webserver-ws/build.gradle index 893e1b0a2a0..3889fcf5555 100644 --- a/server/sonar-webserver-ws/build.gradle +++ b/server/sonar-webserver-ws/build.gradle @@ -9,23 +9,23 @@ sonar { dependencies { // please keep the list grouped by configuration and ordered by name - compile 'com.google.guava:guava' - compile 'org.sonarsource.api.plugin:sonar-plugin-api' - compile project(':sonar-core') - compile project(':server:sonar-webserver-api') - compile project(':sonar-plugin-api-impl') - compile project(':sonar-ws') + api 'com.google.guava:guava' + api 'org.sonarsource.api.plugin:sonar-plugin-api' + api project(':sonar-core') + api project(':server:sonar-webserver-api') + api project(':sonar-plugin-api-impl') + api project(':sonar-ws') - compileOnly 'com.google.code.findbugs:jsr305' - compileOnly 'javax.servlet:javax.servlet-api' - compileOnly 'org.apache.tomcat.embed:tomcat-embed-core' + compileOnlyApi 'com.google.code.findbugs:jsr305' + compileOnlyApi 'javax.servlet:javax.servlet-api' + compileOnlyApi 'org.apache.tomcat.embed:tomcat-embed-core' - testCompile 'com.tngtech.java:junit-dataprovider' - testCompile 'junit:junit' - testCompile 'com.google.code.findbugs:jsr305' - testCompile 'javax.servlet:javax.servlet-api' - testCompile 'org.apache.tomcat.embed:tomcat-embed-core' - testCompile 'org.mockito:mockito-core' + testImplementation 'com.tngtech.java:junit-dataprovider' + testImplementation 'junit:junit' + testImplementation 'com.google.code.findbugs:jsr305' + testImplementation 'javax.servlet:javax.servlet-api' + testImplementation 'org.apache.tomcat.embed:tomcat-embed-core' + testImplementation 'org.mockito:mockito-core' testFixturesApi project(':sonar-testing-harness') |