You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. sonar {
  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(compileOnlyApi)
  12. }
  13. dependencies {
  14. // please keep the list ordered
  15. api 'ch.qos.logback:logback-classic'
  16. api 'ch.qos.logback:logback-core'
  17. api 'commons-codec:commons-codec'
  18. api 'commons-io:commons-io'
  19. api 'commons-lang:commons-lang'
  20. api 'com.google.code.gson:gson'
  21. api 'org.apache.commons:commons-csv'
  22. api 'com.google.protobuf:protobuf-java'
  23. api 'com.squareup.okhttp3:okhttp'
  24. api 'com.fasterxml.staxmate:staxmate'
  25. api 'javax.annotation:javax.annotation-api'
  26. api 'org.eclipse.jgit:org.eclipse.jgit'
  27. api 'org.tmatesoft.svnkit:svnkit'
  28. api 'org.slf4j:jcl-over-slf4j'
  29. api 'org.slf4j:jul-to-slf4j'
  30. api 'org.slf4j:log4j-over-slf4j'
  31. api 'org.slf4j:slf4j-api'
  32. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  33. api 'org.sonarsource.git.blame:git-files-blame'
  34. api 'org.sonarsource.update-center:sonar-update-center-common'
  35. api 'org.springframework:spring-context'
  36. api project(':sonar-core')
  37. api project(':sonar-scanner-protocol')
  38. api project(':sonar-ws')
  39. api project(':sonar-duplications')
  40. api project(':sonar-plugin-api-impl')
  41. compileOnlyApi 'com.google.code.findbugs:jsr305'
  42. testImplementation 'com.squareup.okhttp3:mockwebserver'
  43. testImplementation 'com.squareup.okhttp3:okhttp'
  44. testImplementation 'com.squareup.okio:okio'
  45. testImplementation 'com.tngtech.java:junit-dataprovider'
  46. testImplementation 'commons-io:commons-io'
  47. testImplementation 'junit:junit'
  48. testImplementation 'org.assertj:assertj-core'
  49. testImplementation 'com.fasterxml.staxmate:staxmate'
  50. testImplementation 'org.hamcrest:hamcrest-core'
  51. testImplementation 'org.mockito:mockito-core'
  52. api 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  53. testImplementation project(':plugins:sonar-xoo-plugin')
  54. }
  55. license {
  56. excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java", "org/sonar/scm/git/expected-blame/**/*"])
  57. }
  58. artifactoryPublish.skip = false
  59. // Used by core plugins
  60. publishing {
  61. publications {
  62. mavenJava(MavenPublication) {
  63. from components.java
  64. if (release) {
  65. artifact sourcesJar
  66. artifact javadocJar
  67. }
  68. }
  69. }
  70. }