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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 'com.google.guava:guava'
  15. compile 'org.slf4j:slf4j-api'
  16. compile 'com.squareup.okhttp3:okhttp'
  17. compile 'org.elasticsearch.client:transport'
  18. compile project(':server:sonar-db-dao')
  19. compile project(':sonar-core')
  20. compile project(':sonar-markdown')
  21. compile project(':sonar-ws')
  22. compileOnly project(path: ':sonar-plugin-api')
  23. compileOnly project(path: ':server:sonar-process')
  24. compileOnly 'com.google.code.findbugs:jsr305'
  25. // "tests" dependencies are pulled by other modules which depends on "tests" configuration, "testCompile" are not pulled
  26. tests 'org.codelibs.elasticsearch.module:analysis-common'
  27. tests 'org.elasticsearch:mocksocket'
  28. testCompile 'ch.qos.logback:logback-core'
  29. testCompile 'com.google.code.findbugs:jsr305'
  30. testCompile 'com.h2database:h2'
  31. testCompile 'com.squareup.okhttp3:mockwebserver'
  32. testCompile 'com.tngtech.java:junit-dataprovider'
  33. testCompile 'junit:junit'
  34. testCompile 'org.apache.logging.log4j:log4j-api'
  35. testCompile 'org.apache.logging.log4j:log4j-core'
  36. testCompile 'org.assertj:assertj-core'
  37. testCompile 'org.assertj:assertj-guava'
  38. testCompile 'org.mockito:mockito-core'
  39. testCompile project(':server:sonar-db-testing')
  40. }
  41. task testJar(type: Jar) {
  42. classifier = 'tests'
  43. from sourceSets.test.output
  44. }
  45. artifacts {
  46. tests testJar
  47. }