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.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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.update-center:sonar-update-center-common'
  34. api 'org.springframework:spring-context'
  35. api project(':sonar-core')
  36. api project(':sonar-scanner-protocol')
  37. api project(':sonar-ws')
  38. api project(':sonar-duplications')
  39. api project(':sonar-plugin-api-impl')
  40. compileOnlyApi 'com.google.code.findbugs:jsr305'
  41. testImplementation 'com.squareup.okhttp3:mockwebserver'
  42. testImplementation 'com.squareup.okhttp3:okhttp'
  43. testImplementation 'com.squareup.okio:okio'
  44. testImplementation 'com.tngtech.java:junit-dataprovider'
  45. testImplementation 'commons-io:commons-io'
  46. testImplementation 'junit:junit'
  47. testImplementation 'org.assertj:assertj-core'
  48. testImplementation 'com.fasterxml.staxmate:staxmate'
  49. testImplementation 'org.hamcrest:hamcrest-core'
  50. testImplementation 'org.mockito:mockito-core'
  51. testImplementation 'org.mockito:mockito-inline'
  52. testImplementation project(':plugins:sonar-xoo-plugin')
  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. }