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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: WebServer :: WebAPI"
  4. }
  5. }
  6. configurations {
  7. tests
  8. testCompile.extendsFrom tests
  9. }
  10. dependencies {
  11. // please keep the list grouped by configuration and ordered by name
  12. compile 'com.google.guava:guava'
  13. compile project(':server:sonar-ce-common')
  14. compile project(':server:sonar-ce-task')
  15. compile project(':server:sonar-db-dao')
  16. compile project(':server:sonar-process')
  17. compile project(':server:sonar-webserver-auth')
  18. compile project(':server:sonar-webserver-es')
  19. compile project(':server:sonar-webserver-ws')
  20. compile project(':sonar-scanner-protocol')
  21. compileOnly 'com.google.code.findbugs:jsr305'
  22. compileOnly 'javax.servlet:javax.servlet-api'
  23. testCompile 'org.apache.logging.log4j:log4j-api'
  24. testCompile 'org.apache.logging.log4j:log4j-core'
  25. testCompile 'org.assertj:assertj-guava'
  26. testCompile 'com.google.code.findbugs:jsr305'
  27. testCompile 'com.h2database:h2'
  28. testCompile 'com.tngtech.java:junit-dataprovider'
  29. testCompile 'com.squareup.okhttp3:mockwebserver'
  30. testCompile 'javax.servlet:javax.servlet-api'
  31. testCompile 'org.mockito:mockito-core'
  32. testCompile project(':server:sonar-db-testing')
  33. testCompile project(path: ":server:sonar-server-common", configuration: "tests")
  34. testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
  35. testCompile project(path: ":server:sonar-webserver-common", configuration: "tests")
  36. testCompile project(path: ":server:sonar-webserver-es", configuration: "tests")
  37. testCompile project(path: ":server:sonar-webserver-ws", configuration: "tests")
  38. testCompile project(':sonar-testing-harness')
  39. }
  40. task testJar(type: Jar) {
  41. classifier = 'tests'
  42. from sourceSets.test.output
  43. }
  44. artifacts {
  45. tests testJar
  46. }