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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. description = 'Code shared between the Web Server and the Compute Engine'
  2. sonarqube {
  3. properties {
  4. property 'sonar.projectName', "${projectTitle} :: Server :: Common"
  5. }
  6. }
  7. configurations {
  8. tests
  9. testCompile.extendsFrom tests
  10. }
  11. dependencies {
  12. // please keep the list grouped by configuration and ordered by name
  13. compile 'org.apache.commons:commons-email'
  14. compile 'commons-io:commons-io'
  15. compile 'commons-lang:commons-lang'
  16. compile 'com.google.guava:guava'
  17. compile 'org.slf4j:slf4j-api'
  18. compile 'com.squareup.okhttp3:okhttp'
  19. compile 'org.elasticsearch.client:transport'
  20. compile project(':server:sonar-db-dao')
  21. compile project(':server:sonar-db-migration')
  22. compile project(':server:sonar-process')
  23. compile project(':sonar-core')
  24. compile project(':sonar-markdown')
  25. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  26. compile project(':sonar-ws')
  27. compileOnly 'com.google.code.findbugs:jsr305'
  28. // "tests" dependencies are pulled by other modules which depends on "tests" configuration, "testCompile" are not pulled
  29. tests 'org.codelibs.elasticsearch.module:analysis-common'
  30. tests 'org.elasticsearch:mocksocket'
  31. testCompile 'ch.qos.logback:logback-core'
  32. testCompile 'com.google.code.findbugs:jsr305'
  33. testCompile 'com.h2database:h2'
  34. testCompile 'com.squareup.okhttp3:mockwebserver'
  35. testCompile 'com.squareup.okio:okio'
  36. testCompile 'com.tngtech.java:junit-dataprovider'
  37. testCompile 'junit:junit'
  38. testCompile 'org.apache.logging.log4j:log4j-api'
  39. testCompile 'org.apache.logging.log4j:log4j-core'
  40. testCompile 'org.assertj:assertj-core'
  41. testCompile 'org.hamcrest:hamcrest-core'
  42. testCompile 'org.mockito:mockito-core'
  43. testCompile project(':server:sonar-db-testing')
  44. testCompile project(path: ':sonar-plugin-api', configuration: 'shadow')
  45. testCompile project(':sonar-plugin-api-impl')
  46. testCompile project(':sonar-testing-harness')
  47. }
  48. task testJar(type: Jar) {
  49. classifier = 'tests'
  50. from sourceSets.test.output
  51. }
  52. artifacts {
  53. tests testJar
  54. }