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 /server/sonar-ce-task-projectanalysis | |
parent | e4724e3ff8b382855cfad2ab76234d8df1b8ef87 (diff) | |
download | sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.tar.gz sonarqube-e8e5f48ffdf812693d80299bae1e2e456c79236b.zip |
SONAR-15595 Replace Gradle deprecated dependency scopes
Diffstat (limited to 'server/sonar-ce-task-projectanalysis')
-rw-r--r-- | server/sonar-ce-task-projectanalysis/build.gradle | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/server/sonar-ce-task-projectanalysis/build.gradle b/server/sonar-ce-task-projectanalysis/build.gradle index 5ad68e98bde..166e007fae0 100644 --- a/server/sonar-ce-task-projectanalysis/build.gradle +++ b/server/sonar-ce-task-projectanalysis/build.gradle @@ -17,43 +17,43 @@ sourceSets { dependencies { // please keep the list grouped by configuration and ordered by name - compile 'org.slf4j:jul-to-slf4j' - compile 'org.slf4j:slf4j-api' - compile 'net.sf.trove4j:core:3.1.0' - compile 'commons-codec:commons-codec' - compile 'commons-io:commons-io' - compile 'commons-lang:commons-lang' - compile 'com.google.code.gson:gson' - compile 'com.google.guava:guava' - compile 'com.google.code.findbugs:jsr305' - compile 'com.google.protobuf:protobuf-java' - compile 'com.googlecode.java-diff-utils:diffutils' - compile 'org.mybatis:mybatis' - compile 'org.sonarsource.api.plugin:sonar-plugin-api' + api 'org.slf4j:jul-to-slf4j' + api 'org.slf4j:slf4j-api' + api 'net.sf.trove4j:core:3.1.0' + api 'commons-codec:commons-codec' + api 'commons-io:commons-io' + api 'commons-lang:commons-lang' + api 'com.google.code.gson:gson' + api 'com.google.guava:guava' + api 'com.google.code.findbugs:jsr305' + api 'com.google.protobuf:protobuf-java' + api 'com.googlecode.java-diff-utils:diffutils' + api 'org.mybatis:mybatis' + api 'org.sonarsource.api.plugin:sonar-plugin-api' - compile project(':sonar-core') - compile project(':server:sonar-ce-common') - compile project(':server:sonar-ce-task') - compile project(':server:sonar-db-migration') - compile project(':server:sonar-process') - compile project(':server:sonar-server-common') - compile project(':sonar-plugin-api-impl') - compile project(':sonar-duplications') - compile project(':sonar-scanner-protocol') + api project(':sonar-core') + api project(':server:sonar-ce-common') + api project(':server:sonar-ce-task') + api project(':server:sonar-db-migration') + api project(':server:sonar-process') + api project(':server:sonar-server-common') + api project(':sonar-plugin-api-impl') + api project(':sonar-duplications') + api project(':sonar-scanner-protocol') - compileOnly 'com.google.code.findbugs:jsr305' + compileOnlyApi 'com.google.code.findbugs:jsr305' - compile project(':server:sonar-db-dao') + api project(':server:sonar-db-dao') - testCompile 'com.google.code.findbugs:jsr305' - testCompile 'com.tngtech.java:junit-dataprovider' - testCompile 'org.apache.logging.log4j:log4j-api' - testCompile 'org.apache.logging.log4j:log4j-core' - testCompile 'org.assertj:assertj-core' - testCompile 'org.assertj:assertj-guava' - testCompile 'org.reflections:reflections' - testCompile project(':sonar-testing-harness') - testCompile testFixtures(project(':server:sonar-server-common')) + testImplementation 'com.google.code.findbugs:jsr305' + testImplementation 'com.tngtech.java:junit-dataprovider' + testImplementation 'org.apache.logging.log4j:log4j-api' + testImplementation 'org.apache.logging.log4j:log4j-core' + testImplementation 'org.assertj:assertj-core' + testImplementation 'org.assertj:assertj-guava' + testImplementation 'org.reflections:reflections' + testImplementation project(':sonar-testing-harness') + testImplementation testFixtures(project(':server:sonar-server-common')) testFixturesApi 'junit:junit' testFixturesApi 'org.assertj:assertj-core' |