Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

build.gradle 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Scanner Engine"
  4. }
  5. }
  6. // Excluding scanner files in order to benefit of incremental build support
  7. sourceSets.test.resources {
  8. exclude '**/.sonar/**'
  9. }
  10. configurations {
  11. testImplementation.extendsFrom(compileOnly)
  12. }
  13. dependencies {
  14. // please keep the list ordered
  15. compile 'ch.qos.logback:logback-classic'
  16. compile 'ch.qos.logback:logback-core'
  17. compile 'commons-codec:commons-codec'
  18. compile 'commons-io:commons-io'
  19. compile 'commons-lang:commons-lang'
  20. compile 'com.google.code.gson:gson'
  21. compile 'org.apache.commons:commons-csv'
  22. compile 'com.google.protobuf:protobuf-java'
  23. compile 'com.squareup.okhttp3:okhttp'
  24. compile 'com.fasterxml.staxmate:staxmate'
  25. compile 'javax.annotation:javax.annotation-api'
  26. compile 'org.eclipse.jgit:org.eclipse.jgit'
  27. compile 'org.tmatesoft.svnkit:svnkit'
  28. compile 'org.slf4j:jcl-over-slf4j'
  29. compile 'org.slf4j:jul-to-slf4j'
  30. compile 'org.slf4j:log4j-over-slf4j'
  31. compile 'org.slf4j:slf4j-api'
  32. compile 'org.sonarsource.update-center:sonar-update-center-common'
  33. compile 'org.springframework:spring-context'
  34. compile project(':sonar-core')
  35. compile project(':sonar-scanner-protocol')
  36. compile project(':sonar-ws')
  37. compile project(':sonar-duplications')
  38. compile project(':sonar-plugin-api-impl')
  39. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  40. compileOnly 'com.google.code.findbugs:jsr305'
  41. testCompile 'com.squareup.okhttp3:mockwebserver'
  42. testCompile 'com.squareup.okhttp3:okhttp'
  43. testCompile 'com.squareup.okio:okio'
  44. testCompile 'com.tngtech.java:junit-dataprovider'
  45. testCompile 'commons-io:commons-io'
  46. testCompile 'junit:junit'
  47. testCompile 'org.assertj:assertj-core'
  48. testCompile 'com.fasterxml.staxmate:staxmate'
  49. testCompile 'org.hamcrest:hamcrest-core'
  50. testCompile 'org.mockito:mockito-core'
  51. testCompile project(':plugins:sonar-xoo-plugin')
  52. testCompile project(':sonar-plugin-api').sourceSets.test.output
  53. }
  54. license {
  55. excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
  56. }
  57. artifactoryPublish.skip = false
  58. // Used by core plugins
  59. publishing {
  60. publications {
  61. mavenJava(MavenPublication) {
  62. from components.java
  63. if (release) {
  64. artifact sourcesJar
  65. artifact javadocJar
  66. }
  67. }
  68. }
  69. }