aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-gitlab
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2022-11-25 10:24:46 +0100
committersonartech <sonartech@sonarsource.com>2022-12-01 20:03:11 +0000
commite8e5f48ffdf812693d80299bae1e2e456c79236b (patch)
treea3a54424cafbcf0a156545d9fcb09399069515ee /server/sonar-auth-gitlab
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-auth-gitlab')
-rw-r--r--server/sonar-auth-gitlab/build.gradle28
1 files changed, 14 insertions, 14 deletions
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'
}