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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 'commons-codec:commons-codec'
  16. compile 'commons-lang:commons-lang'
  17. compile 'com.google.code.gson:gson'
  18. compile 'com.google.guava:guava'
  19. compile 'org.apache.commons:commons-csv'
  20. compile 'org.freemarker:freemarker'
  21. compile 'org.slf4j:jcl-over-slf4j'
  22. compile 'org.slf4j:jul-to-slf4j'
  23. compile 'org.slf4j:log4j-over-slf4j'
  24. compile 'org.slf4j:slf4j-api'
  25. compile project(':sonar-core')
  26. compile project(':sonar-scanner-protocol')
  27. compile project(':sonar-ws')
  28. compile project(':sonar-duplications')
  29. runtime project(path: ':sonar-plugin-api', configuration: 'shadow')
  30. compileOnly project(path: ':sonar-plugin-api')
  31. compileOnly 'com.google.code.findbugs:jsr305'
  32. testCompile 'com.squareup.okhttp3:mockwebserver'
  33. testCompile 'com.tngtech.java:junit-dataprovider'
  34. testCompile 'javax.servlet:javax.servlet-api'
  35. testCompile 'junit:junit'
  36. testCompile 'net.javacrumbs.json-unit:json-unit-assertj:0.0.15'
  37. testCompile 'org.assertj:assertj-core'
  38. testCompile 'org.mockito:mockito-core'
  39. testCompile project(':plugins:sonar-xoo-plugin')
  40. testCompile project(':sonar-plugin-api').sourceSets.test.output
  41. }
  42. license {
  43. excludes(["**/Fake.java", "**/Fake.groovy", "org/sonar/scanner/cpd/ManyStatements.java"])
  44. }
  45. artifactoryPublish.skip = false
  46. // Used by core plugins
  47. publishing {
  48. publications {
  49. mavenJava(MavenPublication) {
  50. from components.java
  51. if (release) {
  52. artifact sourcesJar
  53. artifact javadocJar
  54. }
  55. }
  56. }
  57. }