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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 'org.sonarsource:sonar-persistit'
  26. compile project(':sonar-core')
  27. compile project(':sonar-home')
  28. compile project(':sonar-scanner-protocol')
  29. compile project(':sonar-ws')
  30. runtime project(path: ':sonar-plugin-api', configuration: 'shadow')
  31. compileOnly project(path: ':sonar-plugin-api')
  32. compileOnly 'com.google.code.findbugs:jsr305'
  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/deprecated/ManyStatements.java"])
  44. }
  45. artifactoryPublish.skip = false
  46. // Used by core plugins
  47. publishing {
  48. publications {
  49. mavenJava(MavenPublication) {
  50. from components.java
  51. artifact sourcesJar
  52. artifact javadocJar
  53. }
  54. }
  55. }