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-auth-gitlab/build.gradle | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'server/sonar-auth-gitlab') diff --git a/server/sonar-auth-gitlab/build.gradle b/server/sonar-auth-gitlab/build.gradle index 7f679b9506a..f1ece299f90 100644 --- a/server/sonar-auth-gitlab/build.gradle +++ b/server/sonar-auth-gitlab/build.gradle @@ -1,25 +1,25 @@ description = 'SonarQube :: Authentication :: GitLab' configurations { - testImplementation.extendsFrom compileOnly + testImplementation.extendsFrom compileOnlyApi } dependencies { // please keep the list ordered - compile 'com.github.scribejava:scribejava-apis' - compile 'com.github.scribejava:scribejava-core' - compile 'com.google.code.gson:gson' - compile project(':server:sonar-auth-common') + api 'com.github.scribejava:scribejava-apis' + api 'com.github.scribejava:scribejava-core' + api 'com.google.code.gson:gson' + api project(':server:sonar-auth-common') - compileOnly 'com.google.code.findbugs:jsr305' - compileOnly 'com.squareup.okhttp3:okhttp' - compileOnly 'javax.servlet:javax.servlet-api' - compileOnly project(':sonar-core') + compileOnlyApi 'com.google.code.findbugs:jsr305' + compileOnlyApi 'com.squareup.okhttp3:okhttp' + compileOnlyApi 'javax.servlet:javax.servlet-api' + compileOnlyApi project(':sonar-core') - testCompile 'com.squareup.okhttp3:mockwebserver' - testCompile 'com.squareup.okhttp3:okhttp' - testCompile 'junit:junit' - testCompile 'org.assertj:assertj-core' - testCompile 'org.mockito:mockito-core' + testImplementation 'com.squareup.okhttp3:mockwebserver' + testImplementation 'com.squareup.okhttp3:okhttp' + testImplementation 'junit:junit' + testImplementation 'org.assertj:assertj-core' + testImplementation 'org.mockito:mockito-core' } -- cgit v1.2.3