Browse Source

SONAR-15595 Replace Gradle deprecated dependency scopes

tags/9.8.0.63668
Zipeng WU 1 year ago
parent
commit
e8e5f48ffd
44 changed files with 728 additions and 728 deletions
  1. 2
    2
      build.gradle
  2. 6
    6
      plugins/sonar-education-plugin/build.gradle
  3. 11
    11
      plugins/sonar-xoo-plugin/build.gradle
  4. 16
    16
      server/sonar-alm-client/build.gradle
  5. 14
    14
      server/sonar-auth-bitbucket/build.gradle
  6. 9
    9
      server/sonar-auth-common/build.gradle
  7. 14
    14
      server/sonar-auth-github/build.gradle
  8. 14
    14
      server/sonar-auth-gitlab/build.gradle
  9. 10
    10
      server/sonar-auth-ldap/build.gradle
  10. 13
    13
      server/sonar-auth-saml/build.gradle
  11. 22
    22
      server/sonar-ce-common/build.gradle
  12. 33
    33
      server/sonar-ce-task-projectanalysis/build.gradle
  13. 22
    22
      server/sonar-ce-task/build.gradle
  14. 25
    25
      server/sonar-ce/build.gradle
  15. 25
    25
      server/sonar-db-core/build.gradle
  16. 27
    27
      server/sonar-db-dao/build.gradle
  17. 25
    25
      server/sonar-db-migration/build.gradle
  18. 24
    24
      server/sonar-main/build.gradle
  19. 24
    24
      server/sonar-process/build.gradle
  20. 30
    30
      server/sonar-server-common/build.gradle
  21. 20
    20
      server/sonar-webserver-api/build.gradle
  22. 25
    25
      server/sonar-webserver-auth/build.gradle
  23. 53
    53
      server/sonar-webserver-core/build.gradle
  24. 14
    14
      server/sonar-webserver-es/build.gradle
  25. 8
    8
      server/sonar-webserver-monitoring/build.gradle
  26. 10
    10
      server/sonar-webserver-pushapi/build.gradle
  27. 30
    30
      server/sonar-webserver-webapi/build.gradle
  28. 15
    15
      server/sonar-webserver-ws/build.gradle
  29. 26
    26
      server/sonar-webserver/build.gradle
  30. 13
    13
      sonar-application/build.gradle
  31. 1
    1
      sonar-check-api/build.gradle
  32. 24
    24
      sonar-core/build.gradle
  33. 9
    9
      sonar-duplications/build.gradle
  34. 5
    5
      sonar-markdown/build.gradle
  35. 12
    12
      sonar-plugin-api-impl/build.gradle
  36. 1
    1
      sonar-scanner-engine-shaded/build.gradle
  37. 39
    39
      sonar-scanner-engine/build.gradle
  38. 10
    10
      sonar-scanner-protocol/build.gradle
  39. 3
    3
      sonar-shutdowner/build.gradle
  40. 9
    9
      sonar-testing-harness/build.gradle
  41. 6
    6
      sonar-testing-ldap/build.gradle
  42. 9
    9
      sonar-ws-generator/build.gradle
  43. 16
    16
      sonar-ws/build.gradle
  44. 4
    4
      ut-monitoring/build.gradle

+ 2
- 2
build.gradle View File

@@ -139,7 +139,7 @@ subprojects {
apply plugin: 'com.github.hierynomus.license'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'idea'
apply plugin: 'signing'

@@ -539,7 +539,7 @@ subprojects {
}

dependencies {
testCompile project(":ut-monitoring")
testImplementation project(":ut-monitoring")

utMonitoring 'org.aspectj:aspectjweaver:1.9.9.1'
}

+ 6
- 6
plugins/sonar-education-plugin/build.gradle View File

@@ -1,14 +1,14 @@
configurations {
testImplementation.extendsFrom(compileOnly)
testImplementation.extendsFrom(compileOnlyApi)
}

dependencies {
compileOnly 'org.sonarsource.api.plugin:sonar-plugin-api'
compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'

testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testCompile project(':sonar-plugin-api-impl')
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation project(':sonar-plugin-api-impl')
}

jar {

+ 11
- 11
plugins/sonar-xoo-plugin/build.gradle View File

@@ -1,20 +1,20 @@
configurations {
testImplementation.extendsFrom(compileOnly)
testImplementation.extendsFrom(compileOnlyApi)
}

dependencies {
compile 'com.google.guava:guava'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile 'org.apache.commons:commons-csv'
api 'com.google.guava:guava'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api 'org.apache.commons:commons-csv'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'org.sonarsource.api.plugin:sonar-plugin-api'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'

testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testCompile project(':sonar-plugin-api-impl')
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation project(':sonar-plugin-api-impl')
}

jar {

+ 16
- 16
server/sonar-alm-client/build.gradle View File

@@ -1,24 +1,24 @@
description = 'SonarQube :: ALM integrations :: Clients'

dependencies {
compile project(':sonar-ws')
compile project(':server:sonar-webserver-api')
api project(':sonar-ws')
api project(':server:sonar-webserver-api')

compile 'com.google.code.gson:gson'
compile 'com.google.guava:guava'
compile 'com.squareup.okhttp3:okhttp'
compile 'commons-codec:commons-codec'
compile 'com.auth0:java-jwt'
compile 'org.bouncycastle:bcpkix-jdk15on:1.70'
compile'org.sonarsource.api.plugin:sonar-plugin-api'
api 'com.google.code.gson:gson'
api 'com.google.guava:guava'
api 'com.squareup.okhttp3:okhttp'
api 'commons-codec:commons-codec'
api 'com.auth0:java-jwt'
api 'org.bouncycastle:bcpkix-jdk15on:1.70'
api 'org.sonarsource.api.plugin:sonar-plugin-api'

testCompile project(':sonar-plugin-api-impl')
testImplementation project(':sonar-plugin-api-impl')

testCompile 'junit:junit'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'org.assertj:assertj-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'org.mockito:mockito-core'
testCompile 'com.squareup.okhttp3:mockwebserver'
testImplementation 'junit:junit'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'org.mockito:mockito-core'
testImplementation 'com.squareup.okhttp3:mockwebserver'

}

+ 14
- 14
server/sonar-auth-bitbucket/build.gradle View File

@@ -1,25 +1,25 @@
description = 'SonarQube :: Authentication :: Bitbucket'

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list ordered

compile 'com.github.scribejava:scribejava-apis'
compile 'com.github.scribejava:scribejava-core'
compile 'com.google.code.gson:gson'
compile project(':server:sonar-auth-common')
api 'com.github.scribejava:scribejava-apis'
api 'com.github.scribejava:scribejava-core'
api 'com.google.code.gson:gson'
api project(':server:sonar-auth-common')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'com.squareup.okhttp3:okhttp'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')

testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okhttp3:okhttp'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

+ 9
- 9
server/sonar-auth-common/build.gradle View File

@@ -1,20 +1,20 @@
description = 'SonarQube :: Authentication :: Common'

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list ordered

compile 'com.github.scribejava:scribejava-apis'
compile 'com.github.scribejava:scribejava-core'
api 'com.github.scribejava:scribejava-apis'
api 'com.github.scribejava:scribejava-core'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'commons-lang:commons-lang'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'commons-lang:commons-lang'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

+ 14
- 14
server/sonar-auth-github/build.gradle View File

@@ -1,25 +1,25 @@
description = 'SonarQube :: Authentication :: GitHub'

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list ordered

compile 'com.github.scribejava:scribejava-apis'
compile 'com.github.scribejava:scribejava-core'
compile 'com.google.code.gson:gson'
compile project(':server:sonar-auth-common')
api 'com.github.scribejava:scribejava-apis'
api 'com.github.scribejava:scribejava-core'
api 'com.google.code.gson:gson'
api project(':server:sonar-auth-common')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'com.squareup.okhttp3:okhttp'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')

testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okhttp3:okhttp'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

+ 14
- 14
server/sonar-auth-gitlab/build.gradle View File

@@ -1,25 +1,25 @@
description = 'SonarQube :: Authentication :: GitLab'

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list ordered

compile 'com.github.scribejava:scribejava-apis'
compile 'com.github.scribejava:scribejava-core'
compile 'com.google.code.gson:gson'
compile project(':server:sonar-auth-common')
api 'com.github.scribejava:scribejava-apis'
api 'com.github.scribejava:scribejava-core'
api 'com.google.code.gson:gson'
api project(':server:sonar-auth-common')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'com.squareup.okhttp3:okhttp'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')

testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okhttp3:okhttp'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

+ 10
- 10
server/sonar-auth-ldap/build.gradle View File

@@ -1,22 +1,22 @@
description = 'SonarQube :: Authentication :: LDAP'

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list ordered

compile 'commons-lang:commons-lang'
api 'commons-lang:commons-lang'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi project(':sonar-core')

testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testCompile project(":sonar-testing-ldap")
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation project(":sonar-testing-ldap")

}

+ 13
- 13
server/sonar-auth-saml/build.gradle View File

@@ -1,24 +1,24 @@
description = 'SonarQube :: Authentication :: SAML'

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list ordered

compile "com.onelogin:java-saml"
api "com.onelogin:java-saml"

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'com.squareup.okhttp3:okhttp'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly 'org.json:json'
compileOnly project(':server:sonar-db-dao')
compileOnly project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.squareup.okhttp3:okhttp'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi 'org.json:json'
compileOnlyApi project(':server:sonar-db-dao')
compileOnlyApi project(':sonar-core')

testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-db-dao'))
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation testFixtures(project(':server:sonar-db-dao'))
}

+ 22
- 22
server/sonar-ce-common/build.gradle View File

@@ -25,31 +25,31 @@ processResources {
}

configurations {
testImplementation.extendsFrom compileOnly
testImplementation.extendsFrom compileOnlyApi
}

dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'org.slf4j:jul-to-slf4j'
compile 'org.slf4j:slf4j-api'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':server:sonar-ce-task')
compile project(':server:sonar-server-common')
compile project(':sonar-core')
compileOnly 'com.google.code.findbugs:jsr305'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'commons-lang:commons-lang'
testCompile 'junit:junit'
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.hamcrest:hamcrest-all'
testCompile project(':sonar-plugin-api-impl')
testCompile testFixtures(project(':server:sonar-server-common'))
api 'com.google.guava:guava'
api 'org.slf4j:jul-to-slf4j'
api 'org.slf4j:slf4j-api'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-ce-task')
api project(':server:sonar-server-common')
api project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'commons-lang:commons-lang'
testImplementation 'junit:junit'
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.hamcrest:hamcrest-all'
testImplementation project(':sonar-plugin-api-impl')
testImplementation testFixtures(project(':server:sonar-server-common'))
}

+ 33
- 33
server/sonar-ce-task-projectanalysis/build.gradle View File

@@ -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'

+ 22
- 22
server/sonar-ce-task/build.gradle View File

@@ -17,28 +17,28 @@ sourceSets {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'org.slf4j:jul-to-slf4j'
compile 'org.slf4j:slf4j-api'
compile project(':server:sonar-server-common')
compile project(':sonar-core')
compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'org.sonarsource.api.plugin:sonar-plugin-api'
testCompile 'ch.qos.logback:logback-access'
testCompile 'ch.qos.logback:logback-classic'
testCompile 'ch.qos.logback:logback-core'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'org.mockito:mockito-core'
testCompile 'org.reflections:reflections'
testCompile testFixtures(project(':server:sonar-db-dao'))
api 'com.google.guava:guava'
api 'org.slf4j:jul-to-slf4j'
api 'org.slf4j:slf4j-api'
api project(':server:sonar-server-common')
api project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'org.sonarsource.api.plugin:sonar-plugin-api'
testImplementation 'ch.qos.logback:logback-access'
testImplementation 'ch.qos.logback:logback-classic'
testImplementation 'ch.qos.logback:logback-core'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.reflections:reflections'
testImplementation testFixtures(project(':server:sonar-db-dao'))

testFixturesApi 'org.assertj:assertj-core'


+ 25
- 25
server/sonar-ce/build.gradle View File

@@ -8,33 +8,33 @@ sonar {

dependencies {
// please keep the list grouped by configuration and ordered by name
compile 'com.google.guava:guava'
compile 'com.google.protobuf:protobuf-java'
compile 'com.hazelcast:hazelcast'
compile 'com.hazelcast:hazelcast-kubernetes'
compile 'commons-io:commons-io'
compile 'com.zaxxer:HikariCP'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':server:sonar-ce-common')
compile project(':server:sonar-ce-task')
compile project(':server:sonar-ce-task-projectanalysis')
compile project(':server:sonar-process')
compile project(':server:sonar-ce-task')
compile project(':server:sonar-server-common')
compile project(':sonar-core')
compile project(':sonar-plugin-api-impl')
compile project(':sonar-ws')
api 'com.google.guava:guava'
api 'com.google.protobuf:protobuf-java'
api 'com.hazelcast:hazelcast'
api 'com.hazelcast:hazelcast-kubernetes'
api 'commons-io:commons-io'
api 'com.zaxxer:HikariCP'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-ce-common')
api project(':server:sonar-ce-task')
api project(':server:sonar-ce-task-projectanalysis')
api project(':server:sonar-process')
api project(':server:sonar-ce-task')
api project(':server:sonar-server-common')
api project(':sonar-core')
api project(':sonar-plugin-api-impl')
api project(':sonar-ws')
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 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.awaitility:awaitility'
testCompile 'org.mockito:mockito-core'
testCompile 'org.slf4j:slf4j-api'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.slf4j:slf4j-api'

testCompile testFixtures(project(':server:sonar-db-dao'))
testImplementation testFixtures(project(':server:sonar-db-dao'))

}

+ 25
- 25
server/sonar-db-core/build.gradle View File

@@ -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'

+ 27
- 27
server/sonar-db-dao/build.gradle View File

@@ -7,36 +7,36 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'com.google.protobuf:protobuf-java'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile 'net.jpountz.lz4:lz4'
compile 'org.mybatis:mybatis'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':server:sonar-db-core')
compile project(':server:sonar-db-migration')
compile project(':sonar-core')
compileOnly 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'commons-dbutils:commons-dbutils'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'org.mockito:mockito-core'
testCompile 'org.sonarsource.orchestrator:sonar-orchestrator'
testCompile project(':sonar-testing-harness')
testCompile project(':sonar-plugin-api-impl')
api 'com.google.guava:guava'
api 'com.google.protobuf:protobuf-java'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api 'net.jpountz.lz4:lz4'
api 'org.mybatis:mybatis'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-db-core')
api project(':server:sonar-db-migration')
api project(':sonar-core')
compileOnlyApi 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'commons-dbutils:commons-dbutils'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.sonarsource.orchestrator:sonar-orchestrator'
testImplementation project(':sonar-testing-harness')
testImplementation project(':sonar-plugin-api-impl')

testCompileOnly 'com.google.code.findbugs:jsr305'

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 testFixtures(project(':server:sonar-db-core'))


+ 25
- 25
server/sonar-db-migration/build.gradle View File

@@ -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 {

+ 24
- 24
server/sonar-main/build.gradle View File

@@ -7,33 +7,33 @@ 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'
api 'ch.qos.logback:logback-classic'
api 'ch.qos.logback:logback-core'

// Required by our usage of Guava for clustering : CeWorkerFactoryImpl.getClusteredWorkerUUIDs()
compile 'com.google.guava:guava'
compile 'com.hazelcast:hazelcast'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile 'org.apache.logging.log4j:log4j-to-slf4j'
compile 'org.apache.logging.log4j:log4j-api'
compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
compile 'org.elasticsearch:elasticsearch'
compile 'org.slf4j:slf4j-api'
compile 'org.yaml:snakeyaml'
api 'com.google.guava:guava'
api 'com.hazelcast:hazelcast'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api 'org.apache.logging.log4j:log4j-to-slf4j'
api 'org.apache.logging.log4j:log4j-api'
api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
api 'org.elasticsearch:elasticsearch'
api 'org.slf4j:slf4j-api'
api 'org.yaml:snakeyaml'
compile project(':server:sonar-process')
compile project(':sonar-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 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.awaitility:awaitility'
testCompile 'org.mockito:mockito-core'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'commons-logging:commons-logging:1.2'
testCompile project(':sonar-testing-harness')
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.mockito:mockito-core'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'commons-logging:commons-logging:1.2'
testImplementation project(':sonar-testing-harness')
}

+ 24
- 24
server/sonar-process/build.gradle View File

@@ -7,30 +7,30 @@ 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 '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.protobuf:protobuf-java'
compile 'com.hazelcast:hazelcast'
compile 'com.hazelcast:hazelcast-kubernetes'
compile 'org.slf4j:jul-to-slf4j'
compile 'org.slf4j:slf4j-api'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':sonar-core')
api 'ch.qos.logback:logback-classic'
api 'ch.qos.logback:logback-core'
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.protobuf:protobuf-java'
api 'com.hazelcast:hazelcast'
api 'com.hazelcast:hazelcast-kubernetes'
api 'org.slf4j:jul-to-slf4j'
api 'org.slf4j:slf4j-api'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':sonar-core')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.google.protobuf:protobuf-java'
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.awaitility:awaitility'
testCompile project(':sonar-testing-harness')
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.google.protobuf:protobuf-java'
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.awaitility:awaitility'
testImplementation project(':sonar-testing-harness')
}

+ 30
- 30
server/sonar-server-common/build.gradle View File

@@ -9,38 +9,38 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'org.apache.commons:commons-email'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile 'com.google.guava:guava'
compile 'org.slf4j:slf4j-api'
compile 'com.squareup.okhttp3:okhttp'
compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':server:sonar-db-dao')
compile project(':server:sonar-db-migration')
compile project(':server:sonar-process')
compile project(':sonar-core')
compile project(':sonar-markdown')
compile project(':sonar-ws')
api 'org.apache.commons:commons-email'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api 'com.google.guava:guava'
api 'org.slf4j:slf4j-api'
api 'com.squareup.okhttp3:okhttp'
api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-db-dao')
api project(':server:sonar-db-migration')
api project(':server:sonar-process')
api project(':sonar-core')
api project(':sonar-markdown')
api project(':sonar-ws')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'org.elasticsearch.plugin:transport-netty4-client'
testCompile 'ch.qos.logback:logback-core'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okio:okio'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-core'
testCompile 'org.hamcrest:hamcrest-core'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-db-dao'))
testCompile project(':sonar-plugin-api-impl')
testCompile project(':sonar-testing-harness')
testImplementation 'org.elasticsearch.plugin:transport-netty4-client'
testImplementation 'ch.qos.logback:logback-core'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okio:okio'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-core'
testImplementation testFixtures(project(':server:sonar-db-dao'))
testImplementation project(':sonar-plugin-api-impl')
testImplementation project(':sonar-testing-harness')
testFixturesApi 'junit:junit'
testFixturesApi testFixtures(project(':server:sonar-db-dao'))

+ 20
- 20
server/sonar-webserver-api/build.gradle View File

@@ -17,26 +17,26 @@ sourceSets {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'io.jsonwebtoken:jjwt-api'
compile 'io.jsonwebtoken:jjwt-impl'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':sonar-core')
compile project(':server:sonar-process')
compile project(':server:sonar-server-common')
compile project(':sonar-plugin-api-impl')
compile 'org.mindrot:jbcrypt'
compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'
testCompile 'org.assertj:assertj-guava'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'javax.servlet:javax.servlet-api'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-server-common'))
testCompile project(':sonar-testing-harness')
api 'com.google.guava:guava'
api 'io.jsonwebtoken:jjwt-api'
api 'io.jsonwebtoken:jjwt-impl'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':sonar-core')
api project(':server:sonar-process')
api project(':server:sonar-server-common')
api project(':sonar-plugin-api-impl')
api 'org.mindrot:jbcrypt'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'javax.servlet:javax.servlet-api'
testImplementation 'org.mockito:mockito-core'
testImplementation testFixtures(project(':server:sonar-server-common'))
testImplementation project(':sonar-testing-harness')

testFixturesApi 'junit:junit'


+ 25
- 25
server/sonar-webserver-auth/build.gradle View File

@@ -7,34 +7,34 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.code.gson:gson'
compile 'com.google.guava:guava'
compile 'io.jsonwebtoken:jjwt-api'
compile 'io.jsonwebtoken:jjwt-impl'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':sonar-core')
compile project(':server:sonar-process')
compile project(':server:sonar-server-common')
compile project(':server:sonar-webserver-api')
compile project(':sonar-plugin-api-impl')
compile project(':server:sonar-auth-ldap')
compile 'org.mindrot:jbcrypt'
compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'javax.servlet:javax.servlet-api'
testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-server-common'))
testCompile project(':sonar-testing-harness')
api 'com.google.code.gson:gson'
api 'com.google.guava:guava'
api 'io.jsonwebtoken:jjwt-api'
api 'io.jsonwebtoken:jjwt-impl'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':sonar-core')
api project(':server:sonar-process')
api project(':server:sonar-server-common')
api project(':server:sonar-webserver-api')
api project(':sonar-plugin-api-impl')
api project(':server:sonar-auth-ldap')
api 'org.mindrot:jbcrypt'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.servlet:javax.servlet-api'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'javax.servlet:javax.servlet-api'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'org.mockito:mockito-core'
testImplementation testFixtures(project(':server:sonar-server-common'))
testImplementation project(':sonar-testing-harness')

testCompileOnly 'com.google.code.findbugs:jsr305'

runtime 'io.jsonwebtoken:jjwt-jackson'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson'

testFixturesApi 'junit:junit'


+ 53
- 53
server/sonar-webserver-core/build.gradle View File

@@ -18,62 +18,62 @@ processResources {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'ch.qos.logback:logback-access'
compile 'ch.qos.logback:logback-classic'
compile 'ch.qos.logback:logback-core'
compile 'com.google.code.gson:gson'
compile 'com.google.protobuf:protobuf-java'
compile 'io.jsonwebtoken:jjwt-api'
compile 'io.jsonwebtoken:jjwt-impl'
compile 'org.apache.httpcomponents:httpclient'
compile 'org.apache.logging.log4j:log4j-api'
compile 'org.apache.tomcat.embed:tomcat-embed-core'
compile 'com.zaxxer:HikariCP'
compile 'org.slf4j:jul-to-slf4j'
compile 'org.slf4j:slf4j-api'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile 'org.sonarsource.update-center:sonar-update-center-common'
compile 'org.mindrot:jbcrypt'
api 'ch.qos.logback:logback-access'
api 'ch.qos.logback:logback-classic'
api 'ch.qos.logback:logback-core'
api 'com.google.code.gson:gson'
api 'com.google.protobuf:protobuf-java'
api 'io.jsonwebtoken:jjwt-api'
api 'io.jsonwebtoken:jjwt-impl'
api 'org.apache.httpcomponents:httpclient'
api 'org.apache.logging.log4j:log4j-api'
api 'org.apache.tomcat.embed:tomcat-embed-core'
api 'com.zaxxer:HikariCP'
api 'org.slf4j:jul-to-slf4j'
api 'org.slf4j:slf4j-api'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api 'org.sonarsource.update-center:sonar-update-center-common'
api 'org.mindrot:jbcrypt'

compile project(':server:sonar-ce-common')
compile project(':server:sonar-ce-task')
compile project(':server:sonar-ce-task-projectanalysis')
compile project(':server:sonar-db-migration')
compile project(':server:sonar-process')
compile project(':server:sonar-server-common')
compile project(':server:sonar-webserver-api')
compile project(':server:sonar-webserver-pushapi')
compile project(':server:sonar-webserver-es')
compile project(':sonar-core')
compile project(':sonar-duplications')
compile project(':sonar-scanner-protocol')
compile project(':sonar-markdown')
compile project(':sonar-plugin-api-impl')
compile project(':sonar-ws')
api project(':server:sonar-ce-common')
api project(':server:sonar-ce-task')
api project(':server:sonar-ce-task-projectanalysis')
api project(':server:sonar-db-migration')
api project(':server:sonar-process')
api project(':server:sonar-server-common')
api project(':server:sonar-webserver-api')
api project(':server:sonar-webserver-pushapi')
api project(':server:sonar-webserver-es')
api project(':sonar-core')
api project(':sonar-duplications')
api project(':sonar-scanner-protocol')
api project(':sonar-markdown')
api project(':sonar-plugin-api-impl')
api project(':sonar-ws')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'
// not a transitive dep. At runtime lib/jdbc/h2 is used
compileOnly 'com.h2database:h2'
compileOnlyApi 'com.h2database:h2'

testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.h2database:h2'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'commons-dbutils:commons-dbutils'
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.eclipse.jetty:jetty-server'
testCompile 'org.eclipse.jetty:jetty-servlet'
testCompile 'org.hamcrest:hamcrest-all'
testCompile 'org.mockito:mockito-core'
testCompile 'org.subethamail:subethasmtp'
testCompile testFixtures(project(':server:sonar-server-common'))
testCompile testFixtures(project(':server:sonar-webserver-auth'))
testCompile testFixtures(project(':server:sonar-webserver-es'))
testCompile testFixtures(project(':server:sonar-webserver-ws'))
testCompile project(':sonar-testing-harness')
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.h2database:h2'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'commons-dbutils:commons-dbutils'
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.eclipse.jetty:jetty-server'
testImplementation 'org.eclipse.jetty:jetty-servlet'
testImplementation 'org.hamcrest:hamcrest-all'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.subethamail:subethasmtp'
testImplementation testFixtures(project(':server:sonar-server-common'))
testImplementation testFixtures(project(':server:sonar-webserver-auth'))
testImplementation testFixtures(project(':server:sonar-webserver-es'))
testImplementation testFixtures(project(':server:sonar-webserver-ws'))
testImplementation project(':sonar-testing-harness')

runtime 'io.jsonwebtoken:jjwt-jackson'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson'
}

+ 14
- 14
server/sonar-webserver-es/build.gradle View File

@@ -7,22 +7,22 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':server:sonar-server-common')
compile project(':server:sonar-webserver-auth')
api 'com.google.guava:guava'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-server-common')
api project(':server:sonar-webserver-auth')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.servlet:javax.servlet-api'

testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-webserver-auth'))
testCompile project(':sonar-testing-harness')
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.mockito:mockito-core'
testImplementation testFixtures(project(':server:sonar-webserver-auth'))
testImplementation project(':sonar-testing-harness')
testFixturesApi testFixtures(project(':server:sonar-server-common'))
}

+ 8
- 8
server/sonar-webserver-monitoring/build.gradle View File

@@ -1,13 +1,13 @@
description = 'SonarQube :: Monitoring'

dependencies {
compile project(':server:sonar-webserver-api')
compile project(':server:sonar-webserver-pushapi')
compile project(':server:sonar-alm-client')
compile 'io.prometheus:simpleclient'
compile'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':server:sonar-webserver-api')
api project(':server:sonar-webserver-pushapi')
api project(':server:sonar-alm-client')
api 'io.prometheus:simpleclient'
api'org.sonarsource.api.plugin:sonar-plugin-api'

testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

+ 10
- 10
server/sonar-webserver-pushapi/build.gradle View File

@@ -5,18 +5,18 @@ sonar {
}
dependencies {

compile 'javax.servlet:javax.servlet-api'
compile 'org.json:json'
api 'javax.servlet:javax.servlet-api'
api 'org.json:json'

compile project(':server:sonar-webserver-ws')
compile project(':server:sonar-webserver-auth')
api project(':server:sonar-webserver-ws')
api project(':server:sonar-webserver-auth')

testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testCompile 'org.awaitility:awaitility'
testCompile testFixtures(project(':server:sonar-webserver-ws'))
testCompile testFixtures(project(':server:sonar-db-dao'))
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.awaitility:awaitility'
testImplementation testFixtures(project(':server:sonar-webserver-ws'))
testImplementation testFixtures(project(':server:sonar-db-dao'))

testFixturesApi project(':sonar-testing-harness')
testFixturesCompileOnly testFixtures(project(':server:sonar-webserver-ws'))

+ 30
- 30
server/sonar-webserver-webapi/build.gradle View File

@@ -7,42 +7,42 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'com.github.everit-org.json-schema:org.everit.json.schema'
api 'com.google.guava:guava'
api 'com.github.everit-org.json-schema:org.everit.json.schema'

compile 'io.prometheus:simpleclient_common'
compile 'io.prometheus:simpleclient_servlet'
api 'io.prometheus:simpleclient_common'
api 'io.prometheus:simpleclient_servlet'

compile project(':server:sonar-ce-common')
compile project(':server:sonar-ce-task')
compile project(':server:sonar-db-dao')
compile project(':server:sonar-process')
compile project(':server:sonar-webserver-auth')
compile project(':server:sonar-webserver-es')
compile project(':server:sonar-webserver-ws')
compile project(':server:sonar-webserver-pushapi')
compile project(':server:sonar-alm-client')
compile (project(':server:sonar-auth-saml')) {
api project(':server:sonar-ce-common')
api project(':server:sonar-ce-task')
api project(':server:sonar-db-dao')
api project(':server:sonar-process')
api project(':server:sonar-webserver-auth')
api project(':server:sonar-webserver-es')
api project(':server:sonar-webserver-ws')
api project(':server:sonar-webserver-pushapi')
api project(':server:sonar-alm-client')
api (project(':server:sonar-auth-saml')) {
exclude group:'org.apache.santuario'
}
compile project(':sonar-scanner-protocol')
api project(':sonar-scanner-protocol')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.servlet:javax.servlet-api'

testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'org.assertj:assertj-guava'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'javax.servlet:javax.servlet-api'
testCompile 'org.mockito:mockito-core'
testCompile testFixtures(project(':server:sonar-server-common'))
testCompile testFixtures(project(':server:sonar-webserver-auth'))
testCompile testFixtures(project(':server:sonar-webserver-es'))
testCompile testFixtures(project(':server:sonar-webserver-ws'))
testCompile project(':sonar-testing-harness')
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'org.assertj:assertj-guava'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'javax.servlet:javax.servlet-api'
testImplementation 'org.mockito:mockito-core'
testImplementation testFixtures(project(':server:sonar-server-common'))
testImplementation testFixtures(project(':server:sonar-webserver-auth'))
testImplementation testFixtures(project(':server:sonar-webserver-es'))
testImplementation testFixtures(project(':server:sonar-webserver-ws'))
testImplementation project(':sonar-testing-harness')
testFixturesApi testFixtures(project(':server:sonar-db-dao'))
}


+ 15
- 15
server/sonar-webserver-ws/build.gradle View File

@@ -9,23 +9,23 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
compile project(':sonar-core')
compile project(':server:sonar-webserver-api')
compile project(':sonar-plugin-api-impl')
compile project(':sonar-ws')
api 'com.google.guava:guava'
api 'org.sonarsource.api.plugin:sonar-plugin-api'
api project(':sonar-core')
api project(':server:sonar-webserver-api')
api project(':sonar-plugin-api-impl')
api project(':sonar-ws')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.servlet:javax.servlet-api'
compileOnly 'org.apache.tomcat.embed:tomcat-embed-core'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.servlet:javax.servlet-api'
compileOnlyApi 'org.apache.tomcat.embed:tomcat-embed-core'

testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'javax.servlet:javax.servlet-api'
testCompile 'org.apache.tomcat.embed:tomcat-embed-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'javax.servlet:javax.servlet-api'
testImplementation 'org.apache.tomcat.embed:tomcat-embed-core'
testImplementation 'org.mockito:mockito-core'

testFixturesApi project(':sonar-testing-harness')


+ 26
- 26
server/sonar-webserver/build.gradle View File

@@ -9,32 +9,32 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.guava:guava'
compile 'org.apache.tomcat.embed:tomcat-embed-core'
compile project(':sonar-core')
compile project(':server:sonar-auth-bitbucket')
compile project(':server:sonar-auth-github')
compile project(':server:sonar-auth-gitlab')
compile project(':server:sonar-auth-ldap')
compile project(':server:sonar-auth-saml')
compile project(':server:sonar-ce-task-projectanalysis')
compile project(':server:sonar-process')
compile project(':server:sonar-webserver-core')
compile project(':server:sonar-webserver-webapi')
compile project(':server:sonar-webserver-pushapi')
compile project(':server:sonar-webserver-monitoring')
api 'com.google.guava:guava'
api 'org.apache.tomcat.embed:tomcat-embed-core'
api project(':sonar-core')
api project(':server:sonar-auth-bitbucket')
api project(':server:sonar-auth-github')
api project(':server:sonar-auth-gitlab')
api project(':server:sonar-auth-ldap')
api project(':server:sonar-auth-saml')
api project(':server:sonar-ce-task-projectanalysis')
api project(':server:sonar-process')
api project(':server:sonar-webserver-core')
api project(':server:sonar-webserver-webapi')
api project(':server:sonar-webserver-pushapi')
api project(':server:sonar-webserver-monitoring')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'org.apache.logging.log4j:log4j-api'
testCompile 'org.apache.logging.log4j:log4j-core'
testCompile 'com.google.code.findbugs:jsr305'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'org.mockito:mockito-core'
testCompile 'org.eclipse.jetty:jetty-server'
testCompile 'org.eclipse.jetty:jetty-servlet'
testCompile testFixtures(project(':server:sonar-server-common'))
testCompile testFixtures(project(':server:sonar-webserver-auth'))
testCompile testFixtures(project(':server:sonar-webserver-es'))
testCompile project(':sonar-testing-harness')
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.apache.logging.log4j:log4j-core'
testImplementation 'com.google.code.findbugs:jsr305'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.eclipse.jetty:jetty-server'
testImplementation 'org.eclipse.jetty:jetty-servlet'
testImplementation testFixtures(project(':server:sonar-server-common'))
testImplementation testFixtures(project(':server:sonar-webserver-auth'))
testImplementation testFixtures(project(':server:sonar-webserver-es'))
testImplementation project(':sonar-testing-harness')
}

+ 13
- 13
sonar-application/build.gradle View File

@@ -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')

+ 1
- 1
sonar-check-api/build.gradle View File

@@ -5,6 +5,6 @@ sonar {
}

dependencies {
compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

}

+ 24
- 24
sonar-core/build.gradle View File

@@ -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'
}

+ 9
- 9
sonar-duplications/build.gradle View File

@@ -7,15 +7,15 @@ sonar {
dependencies {
// please keep list ordered

compile 'org.codehaus.sonar:sonar-channel'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
api 'org.codehaus.sonar:sonar-channel'
api 'org.sonarsource.api.plugin:sonar-plugin-api'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'ch.qos.logback:logback-classic'
testCompile 'commons-io:commons-io'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.hamcrest:hamcrest-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'ch.qos.logback:logback-classic'
testImplementation 'commons-io:commons-io'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-core'
}

+ 5
- 5
sonar-markdown/build.gradle View File

@@ -7,12 +7,12 @@ sonar {
dependencies {
// please keep list ordered

compile 'commons-lang:commons-lang'
compile 'org.codehaus.sonar:sonar-channel'
api 'commons-lang:commons-lang'
api 'org.codehaus.sonar:sonar-channel'

testCompile 'ch.qos.logback:logback-classic'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testImplementation 'ch.qos.logback:logback-classic'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
}

artifactoryPublish.skip = false

+ 12
- 12
sonar-plugin-api-impl/build.gradle View File

@@ -7,22 +7,22 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'commons-codec:commons-codec'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile 'org.apache.commons:commons-csv'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
api 'commons-codec:commons-codec'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api 'org.apache.commons:commons-csv'
api 'org.sonarsource.api.plugin:sonar-plugin-api'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'junit:junit'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'junit:junit'

testCompileOnly 'com.google.code.findbugs:jsr305'

testCompile 'com.google.guava:guava'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'com.google.guava:guava'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
}

import org.apache.tools.ant.filters.ReplaceTokens

+ 1
- 1
sonar-scanner-engine-shaded/build.gradle View File

@@ -7,5 +7,5 @@ sonar {
apply plugin: 'com.github.johnrengelman.shadow'

dependencies {
compile project(':sonar-scanner-engine')
api project(':sonar-scanner-engine')
}

+ 39
- 39
sonar-scanner-engine/build.gradle View File

@@ -10,54 +10,54 @@ sourceSets.test.resources {
}

configurations {
testImplementation.extendsFrom(compileOnly)
testImplementation.extendsFrom(compileOnlyApi)
}

dependencies {
// please keep the list ordered

compile 'ch.qos.logback:logback-classic'
compile 'ch.qos.logback:logback-core'
compile 'commons-codec:commons-codec'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile 'com.google.code.gson:gson'
compile 'org.apache.commons:commons-csv'
compile 'com.google.protobuf:protobuf-java'
compile 'com.squareup.okhttp3:okhttp'
compile 'com.fasterxml.staxmate:staxmate'
compile 'javax.annotation:javax.annotation-api'
compile 'org.eclipse.jgit:org.eclipse.jgit'
compile 'org.tmatesoft.svnkit:svnkit'
compile 'org.slf4j:jcl-over-slf4j'
compile 'org.slf4j:jul-to-slf4j'
compile 'org.slf4j:log4j-over-slf4j'
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'
api 'ch.qos.logback:logback-classic'
api 'ch.qos.logback:logback-core'
api 'commons-codec:commons-codec'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api 'com.google.code.gson:gson'
api 'org.apache.commons:commons-csv'
api 'com.google.protobuf:protobuf-java'
api 'com.squareup.okhttp3:okhttp'
api 'com.fasterxml.staxmate:staxmate'
api 'javax.annotation:javax.annotation-api'
api 'org.eclipse.jgit:org.eclipse.jgit'
api 'org.tmatesoft.svnkit:svnkit'
api 'org.slf4j:jcl-over-slf4j'
api 'org.slf4j:jul-to-slf4j'
api 'org.slf4j:log4j-over-slf4j'
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'


compile project(':sonar-core')
compile project(':sonar-scanner-protocol')
compile project(':sonar-ws')
compile project(':sonar-duplications')
compile project(':sonar-plugin-api-impl')
api project(':sonar-core')
api project(':sonar-scanner-protocol')
api project(':sonar-ws')
api project(':sonar-duplications')
api project(':sonar-plugin-api-impl')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okhttp3:okhttp'
testCompile 'com.squareup.okio:okio'
testCompile 'com.tngtech.java:junit-dataprovider'
testCompile 'commons-io:commons-io'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'com.fasterxml.staxmate:staxmate'
testCompile 'org.hamcrest:hamcrest-core'
testCompile 'org.mockito:mockito-core'
testCompile 'org.mockito:mockito-inline'
testCompile project(':plugins:sonar-xoo-plugin')
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'com.squareup.okio:okio'
testImplementation 'com.tngtech.java:junit-dataprovider'
testImplementation 'commons-io:commons-io'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'com.fasterxml.staxmate:staxmate'
testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.mockito:mockito-inline'
testImplementation project(':plugins:sonar-xoo-plugin')
}

license {

+ 10
- 10
sonar-scanner-protocol/build.gradle View File

@@ -7,17 +7,17 @@ sonar {

dependencies {
// please keep the list ordered
compile 'com.google.code.gson:gson'
compile 'com.google.protobuf:protobuf-java'
compile 'commons-io:commons-io'
compile 'commons-lang:commons-lang'
compile project(':sonar-core')
api 'com.google.code.gson:gson'
api 'com.google.protobuf:protobuf-java'
api 'commons-io:commons-io'
api 'commons-lang:commons-lang'
api project(':sonar-core')

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'com.google.guava:guava'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testImplementation 'com.google.guava:guava'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
}

//create a single Jar with all dependencies
@@ -26,7 +26,7 @@ task fatJar(type: Jar) {
attributes 'Main-Class': 'org.sonar.scanner.protocol.viewer.ScannerReportViewerApp'
}
archiveBaseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

+ 3
- 3
sonar-shutdowner/build.gradle View File

@@ -6,10 +6,10 @@ sonar {

dependencies {
// please keep list ordered
compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'

testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
}

jar {

+ 9
- 9
sonar-testing-harness/build.gradle View File

@@ -7,16 +7,16 @@ sonar {
dependencies {
// please keep list ordered

compile 'com.google.code.gson:gson'
compile 'com.googlecode.json-simple:json-simple'
compile 'com.sun.mail:javax.mail'
compile 'commons-io:commons-io'
compile 'junit:junit'
compile 'org.assertj:assertj-core'
compile 'org.jsoup:jsoup'
compile 'org.mockito:mockito-core'
api 'com.google.code.gson:gson'
api 'com.googlecode.json-simple:json-simple'
api 'com.sun.mail:javax.mail'
api 'commons-io:commons-io'
api 'junit:junit'
api 'org.assertj:assertj-core'
api 'org.jsoup:jsoup'
api 'org.mockito:mockito-core'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'
}

artifactoryPublish.skip = false

+ 6
- 6
sonar-testing-ldap/build.gradle View File

@@ -5,11 +5,11 @@ sonar {
}

dependencies {
compile 'junit:junit'
compile 'org.apache.directory.server:apacheds-all:2.0.0-M24'
compile 'org.slf4j:slf4j-api'
api 'junit:junit'
api 'org.apache.directory.server:apacheds-all:2.0.0-M24'
api 'org.slf4j:slf4j-api'

testCompile 'org.assertj:assertj-core'
testCompile 'org.hamcrest:hamcrest-core'
testCompile 'org.mockito:mockito-core'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-core'
}

+ 9
- 9
sonar-ws-generator/build.gradle View File

@@ -5,17 +5,17 @@ sonar {
dependencies {
// please keep list ordered

compile 'com.google.code.gson:gson'
compile 'com.google.guava:guava'
compile 'commons-io:commons-io'
api 'com.google.code.gson:gson'
api 'com.google.guava:guava'
api 'commons-io:commons-io'
// transitive dependency of Velocity that must be upgraded
// in order to fix a vulnerability
compile 'commons-collections:commons-collections:3.2.2'
compile 'org.apache.velocity:velocity:1.7'
compile 'org.slf4j:log4j-over-slf4j'
compile 'org.sonarsource.orchestrator:sonar-orchestrator'
api 'commons-collections:commons-collections:3.2.2'
api 'org.apache.velocity:velocity:1.7'
api 'org.slf4j:log4j-over-slf4j'
api 'org.sonarsource.orchestrator:sonar-orchestrator'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnlyApi 'com.google.code.findbugs:jsr305'
}

task fatJar(type: Jar) {
@@ -23,6 +23,6 @@ task fatJar(type: Jar) {
attributes 'Main-Class': 'org.sonarqube.wsgenerator.Generator'
}
archiveClassifier = 'jar-with-dependencies'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

+ 16
- 16
sonar-ws/build.gradle View File

@@ -6,29 +6,29 @@ sonar {
}

configurations {
testImplementation.extendsFrom(compileOnly)
testImplementation.extendsFrom(compileOnlyApi)
}

dependencies {
// please keep list ordered

compile 'com.google.protobuf:protobuf-java'
compile 'com.squareup.okhttp3:okhttp'
compile 'com.google.code.gson:gson'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
api 'com.google.protobuf:protobuf-java'
api 'com.squareup.okhttp3:okhttp'
api 'com.google.code.gson:gson'
api 'org.sonarsource.api.plugin:sonar-plugin-api'

compileOnly 'com.google.code.findbugs:jsr305'
compileOnly 'javax.annotation:javax.annotation-api'
compileOnlyApi 'com.google.code.findbugs:jsr305'
compileOnlyApi 'javax.annotation:javax.annotation-api'

testCompile 'com.squareup.okhttp3:mockwebserver'
testCompile 'com.squareup.okio:okio'
testCompile 'commons-io:commons-io'
testCompile 'commons-lang:commons-lang'
testCompile 'junit:junit'
testCompile 'org.assertj:assertj-core'
testCompile 'org.hamcrest:hamcrest-core'
testCompile 'org.mockito:mockito-core'
testCompile project(':sonar-testing-harness')
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'com.squareup.okio:okio'
testImplementation 'commons-io:commons-io'
testImplementation 'commons-lang:commons-lang'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.hamcrest:hamcrest-core'
testImplementation 'org.mockito:mockito-core'
testImplementation project(':sonar-testing-harness')
}

artifactoryPublish.skip = false

+ 4
- 4
ut-monitoring/build.gradle View File

@@ -7,11 +7,11 @@ sonar {
dependencies {
// please keep the list grouped by configuration and ordered by name

compile 'com.google.code.gson:gson'
compile 'junit:junit'
compile 'org.sonarsource.api.plugin:sonar-plugin-api'
api 'com.google.code.gson:gson'
api 'junit:junit'
api 'org.sonarsource.api.plugin:sonar-plugin-api'

compileOnly 'org.aspectj:aspectjtools'
compileOnlyApi 'org.aspectj:aspectjtools'
}

sonar {

Loading…
Cancel
Save