aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-core
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-db-core
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r--server/sonar-db-core/build.gradle50
1 files changed, 25 insertions, 25 deletions
diff --git a/server/sonar-db-core/build.gradle b/server/sonar-db-core/build.gradle
index 845e2e645e5..30986cc2604 100644
--- a/server/sonar-db-core/build.gradle
+++ b/server/sonar-db-core/build.gradle
@@ -7,35 +7,35 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name
- compile 'ch.qos.logback:logback-classic'
- compile 'ch.qos.logback:logback-core'
- compile 'com.google.guava:guava'
- compile 'commons-io:commons-io'
- compile 'commons-lang:commons-lang'
- compile 'com.zaxxer:HikariCP'
- compile 'org.mybatis:mybatis'
- compile 'org.slf4j:slf4j-api'
- compile 'org.sonarsource.api.plugin:sonar-plugin-api'
- compile project(':server:sonar-process')
- compile project(':sonar-plugin-api-impl')
+ api 'ch.qos.logback:logback-classic'
+ api 'ch.qos.logback:logback-core'
+ api 'com.google.guava:guava'
+ api 'commons-io:commons-io'
+ api 'commons-lang:commons-lang'
+ api 'com.zaxxer:HikariCP'
+ api 'org.mybatis:mybatis'
+ api 'org.slf4j:slf4j-api'
+ api 'org.sonarsource.api.plugin:sonar-plugin-api'
+ api project(':server:sonar-process')
+ api project(':sonar-plugin-api-impl')
- compileOnly 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
- testCompile 'com.google.code.findbugs:jsr305'
- testCompile 'com.h2database:h2'
- testCompile 'com.microsoft.sqlserver:mssql-jdbc'
- testCompile 'com.oracle.database.jdbc:ojdbc8'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'org.mockito:mockito-core'
- testCompile 'org.mockito:mockito-inline'
- testCompile 'org.postgresql:postgresql'
+ testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.h2database:h2'
+ testImplementation 'com.microsoft.sqlserver:mssql-jdbc'
+ testImplementation 'com.oracle.database.jdbc:ojdbc8'
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation 'org.mockito:mockito-inline'
+ testImplementation 'org.postgresql:postgresql'
- testCompile project(':sonar-testing-harness')
+ testImplementation project(':sonar-testing-harness')
- testRuntime 'com.h2database:h2'
- testRuntime 'com.microsoft.sqlserver:mssql-jdbc'
- testRuntime 'com.oracle.database.jdbc:ojdbc8'
- testRuntime 'org.postgresql:postgresql'
+ testRuntimeOnly 'com.h2database:h2'
+ testRuntimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
+ testRuntimeOnly 'com.oracle.database.jdbc:ojdbc8'
+ testRuntimeOnly 'org.postgresql:postgresql'
testFixturesApi 'commons-dbutils:commons-dbutils'
testFixturesApi 'junit:junit'