aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/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 /sonar-application/build.gradle
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r--sonar-application/build.gradle26
1 files changed, 13 insertions, 13 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index 28163b86c07..34aceda221c 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -36,7 +36,7 @@ configurations {
extendsFrom bundledPlugin
transitive = true
}
- appLicenses.extendsFrom(compile, web, scanner, jdbc_mssql, jdbc_postgresql, jdbc_h2, bundledPlugin_deps)
+ appLicenses.extendsFrom(api, web, scanner, jdbc_mssql, jdbc_postgresql, jdbc_h2, bundledPlugin_deps)
cyclonedx
}
@@ -52,18 +52,18 @@ shadowJar {
dependencies {
// please keep list ordered
- compile 'org.slf4j:slf4j-api'
-
- compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
- compile project(':server:sonar-ce')
- compile project(':server:sonar-main')
- compile project(':server:sonar-process')
- compile project(':server:sonar-webserver')
- compile project(':sonar-core')
- compile project(':sonar-plugin-api-impl')
-
- compileOnly 'com.google.code.findbugs:jsr305'
+ api 'org.slf4j:slf4j-api'
+
+ api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api project(':server:sonar-ce')
+ api project(':server:sonar-main')
+ api project(':server:sonar-process')
+ api project(':server:sonar-webserver')
+ api project(':sonar-core')
+ api project(':sonar-plugin-api-impl')
+
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
scanner project(path: ':sonar-scanner-engine-shaded', configuration: 'shadow')
cyclonedx project(path: ':sonar-scanner-engine-shaded')