aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-ldap/build.gradle
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-ldap/build.gradle
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-auth-ldap/build.gradle')
-rw-r--r--server/sonar-auth-ldap/build.gradle20
1 files changed, 10 insertions, 10 deletions
diff --git a/server/sonar-auth-ldap/build.gradle b/server/sonar-auth-ldap/build.gradle
index 8af87f30bcb..6ef30e47a62 100644
--- a/server/sonar-auth-ldap/build.gradle
+++ b/server/sonar-auth-ldap/build.gradle
@@ -1,22 +1,22 @@
description = 'SonarQube :: Authentication :: LDAP'
configurations {
- testImplementation.extendsFrom compileOnly
+ testImplementation.extendsFrom compileOnlyApi
}
dependencies {
// please keep the list ordered
- compile 'commons-lang:commons-lang'
+ api 'commons-lang:commons-lang'
- compileOnly 'com.google.code.findbugs:jsr305'
- compileOnly 'javax.servlet:javax.servlet-api'
- compileOnly project(':sonar-core')
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'javax.servlet:javax.servlet-api'
+ compileOnlyApi project(':sonar-core')
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'junit:junit'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.mockito:mockito-core'
- testCompile project(":sonar-testing-ldap")
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+ testImplementation 'junit:junit'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation project(":sonar-testing-ldap")
}