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-ldap/build.gradle | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'server/sonar-auth-ldap/build.gradle') 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") } -- cgit v1.2.3