aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
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-migration
parente4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff)
downloadsonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz
sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/build.gradle50
1 files changed, 25 insertions, 25 deletions
diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle
index c19929c27af..f278192f558 100644
--- a/server/sonar-db-migration/build.gradle
+++ b/server/sonar-db-migration/build.gradle
@@ -7,35 +7,35 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name
- compile 'com.google.guava:guava'
- compile 'commons-lang:commons-lang'
- compile 'commons-codec:commons-codec'
- compile 'com.fasterxml.staxmate:staxmate'
+ api 'com.google.guava:guava'
+ api 'commons-lang:commons-lang'
+ api 'commons-codec:commons-codec'
+ api 'com.fasterxml.staxmate:staxmate'
- compile project(':server:sonar-db-core')
- compile project(':server:sonar-process')
- compile project(':sonar-core')
+ api project(':server:sonar-db-core')
+ api project(':server:sonar-process')
+ api project(':sonar-core')
- compileOnly 'com.google.code.findbugs:jsr305'
+ compileOnlyApi 'com.google.code.findbugs:jsr305'
- testCompile 'com.google.code.findbugs:jsr305'
- testCompile 'com.tngtech.java:junit-dataprovider'
- testCompile 'commons-dbutils:commons-dbutils'
- testCompile 'com.squareup.okhttp3:mockwebserver'
- testCompile 'junit:junit'
- testCompile 'org.assertj:assertj-core'
- testCompile 'org.mindrot:jbcrypt'
- testCompile 'org.mockito:mockito-core'
- testCompile 'org.xmlunit:xmlunit-core'
- testCompile 'org.xmlunit:xmlunit-matchers'
- testCompile project(':sonar-scanner-protocol')
- testCompile project(':sonar-testing-harness')
- testCompile testFixtures(project(':server:sonar-db-core'))
+ testImplementation 'com.google.code.findbugs:jsr305'
+ testImplementation 'com.tngtech.java:junit-dataprovider'
+ testImplementation 'commons-dbutils:commons-dbutils'
+ testImplementation 'com.squareup.okhttp3:mockwebserver'
+ testImplementation 'junit:junit'
+ testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.mindrot:jbcrypt'
+ testImplementation 'org.mockito:mockito-core'
+ testImplementation 'org.xmlunit:xmlunit-core'
+ testImplementation 'org.xmlunit:xmlunit-matchers'
+ testImplementation project(':sonar-scanner-protocol')
+ testImplementation project(':sonar-testing-harness')
+ testImplementation testFixtures(project(':server:sonar-db-core'))
- 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'
}
test {