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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. compile 'commons-codec:commons-codec'
  15. compile 'commons-lang:commons-lang'
  16. compile 'com.google.code.gson:gson'
  17. compile 'com.google.guava:guava'
  18. compile 'org.freemarker:freemarker'
  19. compile 'org.slf4j:jul-to-slf4j'
  20. compile 'org.slf4j:log4j-over-slf4j'
  21. compile 'org.slf4j:slf4j-api'
  22. compile 'org.sonarsource:sonar-persistit'
  23. compile project(':sonar-core')
  24. compile project(':sonar-scanner-protocol')
  25. compile project(':sonar-ws')
  26. compile project(':sonar-home')
  27. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  28. compileOnly 'com.google.code.findbugs:jsr305'
  29. testCompile 'com.tngtech.java:junit-dataprovider'
  30. testCompile 'javax.servlet:javax.servlet-api'
  31. testCompile 'junit:junit'
  32. // Workaround to resolve dependencies of eclipse specific packaging: https://issues.gradle.org/browse/GRADLE-2076
  33. testCompile module('org.eclipse.jetty:jetty-server') {
  34. dependencies(
  35. "org.eclipse.jetty.orbit:javax.servlet:3.0.0.v201112011016@jar",
  36. "org.eclipse.jetty:jetty-continuation:8.1.2.v20120308",
  37. "org.eclipse.jetty:jetty-http:8.1.2.v20120308"
  38. )
  39. }
  40. testCompile 'org.assertj:assertj-core'
  41. testCompile 'org.mockito:mockito-core'
  42. testCompile 'net.javacrumbs.json-unit:json-unit-assertj:0.0.15'
  43. testCompile project(':plugins:sonar-xoo-plugin')
  44. testCompile project(':sonar-plugin-api').sourceSets.test.output
  45. }
  46. artifactoryPublish.skip = false
  47. // Used by core plugins
  48. publishing {
  49. publications {
  50. mavenJava(MavenPublication) {
  51. from components.java
  52. artifact sourcesJar
  53. artifact javadocJar
  54. }
  55. }
  56. }