diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2022-11-25 10:24:46 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-12-01 20:03:11 +0000 |
commit | e8e5f48ffdf812693d80299bae1e2e456c79236b (patch) | |
tree | a3a54424cafbcf0a156545d9fcb09399069515ee /sonar-core/build.gradle | |
parent | e4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff) | |
download | sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip |
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'sonar-core/build.gradle')
-rw-r--r-- | sonar-core/build.gradle | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/sonar-core/build.gradle b/sonar-core/build.gradle index 63608062593..cd1c8250cf7 100644 --- a/sonar-core/build.gradle +++ b/sonar-core/build.gradle @@ -7,32 +7,32 @@ sonar { dependencies { // please keep list ordered - compile 'ch.qos.logback:logback-classic' - compile 'ch.qos.logback:logback-core' - compile 'com.google.guava:guava' - compile 'com.google.protobuf:protobuf-java' - compile 'commons-codec:commons-codec' - compile 'commons-io:commons-io' - compile 'commons-lang:commons-lang' - compile 'javax.annotation:javax.annotation-api' - compile 'javax.inject:javax.inject' - compile 'org.codehaus.sonar:sonar-classloader' - compile 'org.slf4j:slf4j-api' - compile 'org.sonarsource.api.plugin:sonar-plugin-api' - compile 'org.sonarsource.update-center:sonar-update-center-common' - compile 'org.springframework:spring-context' - compile project(':sonar-plugin-api-impl') + api 'ch.qos.logback:logback-classic' + api 'ch.qos.logback:logback-core' + api 'com.google.guava:guava' + api 'com.google.protobuf:protobuf-java' + api 'commons-codec:commons-codec' + api 'commons-io:commons-io' + api 'commons-lang:commons-lang' + api 'javax.annotation:javax.annotation-api' + api 'javax.inject:javax.inject' + api 'org.codehaus.sonar:sonar-classloader' + api 'org.slf4j:slf4j-api' + api 'org.sonarsource.api.plugin:sonar-plugin-api' + api 'org.sonarsource.update-center:sonar-update-center-common' + api 'org.springframework:spring-context' + api project(':sonar-plugin-api-impl') - compileOnly 'com.google.code.findbugs:jsr305' - compileOnly 'com.google.code.gson:gson' + compileOnlyApi 'com.google.code.findbugs:jsr305' + compileOnlyApi 'com.google.code.gson:gson' - testCompile 'com.tngtech.java:junit-dataprovider' - testCompile 'junit:junit' - testCompile 'org.assertj:assertj-core' - testCompile 'org.hamcrest:hamcrest-core' - testCompile 'org.mockito:mockito-core' - testCompile 'org.simpleframework:simple' - testCompile project(':sonar-testing-harness') + testImplementation 'com.tngtech.java:junit-dataprovider' + testImplementation 'junit:junit' + testImplementation 'org.assertj:assertj-core' + testImplementation 'org.hamcrest:hamcrest-core' + testImplementation 'org.mockito:mockito-core' + testImplementation 'org.simpleframework:simple' + testImplementation project(':sonar-testing-harness') testCompileOnly 'com.google.code.findbugs:jsr305' } |