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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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(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.api.plugin:sonar-plugin-api'
  33. compile 'org.sonarsource.update-center:sonar-update-center-common'
  34. compile 'org.springframework:spring-context'
  35. compile project(':sonar-core')
  36. compile project(':sonar-scanner-protocol')
  37. compile project(':sonar-ws')
  38. compile project(':sonar-duplications')
  39. compile project(':sonar-plugin-api-impl')
  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. }
  53. license {
  54. excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
  55. }
  56. artifactoryPublish.skip = false
  57. // Used by core plugins
  58. publishing {
  59. publications {
  60. mavenJava(MavenPublication) {
  61. from components.java
  62. if (release) {
  63. artifact sourcesJar
  64. artifact javadocJar
  65. }
  66. }
  67. }
  68. }