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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. testCompile.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 'org.freemarker:freemarker'
  23. compile 'com.google.protobuf:protobuf-java'
  24. compile 'com.squareup.okhttp3:okhttp'
  25. compile 'org.codehaus.staxmate:staxmate'
  26. compile 'org.codehaus.woodstox:stax2-api'
  27. compile 'org.codehaus.woodstox:woodstox-core-lgpl'
  28. compile 'org.picocontainer:picocontainer'
  29. compile 'org.slf4j:jcl-over-slf4j'
  30. compile 'org.slf4j:jul-to-slf4j'
  31. compile 'org.slf4j:log4j-over-slf4j'
  32. compile 'org.slf4j:slf4j-api'
  33. compile 'org.sonarsource.update-center:sonar-update-center-common'
  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 'org.codehaus.staxmate:staxmate'
  49. testCompile 'org.hamcrest:hamcrest-core'
  50. testCompile 'org.mockito:mockito-core'
  51. testCompile 'stax:stax-api'
  52. testCompile project(':plugins:sonar-xoo-plugin')
  53. testCompile project(':sonar-plugin-api').sourceSets.test.output
  54. }
  55. license {
  56. excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
  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. }