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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. description = 'Code shared between the Web Server and the Compute Engine'
  2. sonar {
  3. properties {
  4. property 'sonar.projectName', "${projectTitle} :: Server :: Common"
  5. }
  6. }
  7. dependencies {
  8. // please keep the list grouped by configuration and ordered by name
  9. api 'org.apache.commons:commons-email'
  10. api 'commons-io:commons-io'
  11. api 'commons-lang:commons-lang'
  12. api 'com.google.guava:guava'
  13. api 'org.slf4j:slf4j-api'
  14. api 'com.squareup.okhttp3:okhttp'
  15. api 'org.elasticsearch.client:elasticsearch-rest-high-level-client'
  16. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  17. api project(':server:sonar-db-dao')
  18. api project(':server:sonar-db-migration')
  19. api project(':server:sonar-process')
  20. api project(':sonar-core')
  21. api project(':sonar-markdown')
  22. api project(':sonar-ws')
  23. compileOnlyApi 'com.google.code.findbugs:jsr305'
  24. testImplementation 'org.elasticsearch.plugin:transport-netty4-client'
  25. testImplementation 'ch.qos.logback:logback-core'
  26. testImplementation 'com.google.code.findbugs:jsr305'
  27. testImplementation 'org.subethamail:subethasmtp'
  28. testImplementation 'com.squareup.okhttp3:mockwebserver'
  29. testImplementation 'com.squareup.okhttp3:okhttp-tls'
  30. testImplementation 'com.squareup.okio:okio'
  31. testImplementation 'com.tngtech.java:junit-dataprovider'
  32. testImplementation 'junit:junit'
  33. testImplementation 'org.apache.logging.log4j:log4j-api'
  34. testImplementation 'org.apache.logging.log4j:log4j-core'
  35. testImplementation 'org.assertj:assertj-core'
  36. testImplementation 'org.hamcrest:hamcrest-core'
  37. testImplementation 'org.junit.jupiter:junit-jupiter-api'
  38. testImplementation 'org.mockito:mockito-core'
  39. testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  40. testImplementation testFixtures(project(':server:sonar-db-dao'))
  41. testImplementation testFixtures(project(':server:sonar-webserver-auth'))
  42. testImplementation testFixtures(project(':server:sonar-webserver-es'))
  43. testImplementation project(':sonar-plugin-api-impl')
  44. testImplementation project(':sonar-testing-harness')
  45. testFixturesApi 'junit:junit'
  46. testFixturesApi testFixtures(project(':server:sonar-db-dao'))
  47. testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
  48. testFixturesImplementation 'org.elasticsearch.plugin:transport-netty4-client'
  49. testFixturesImplementation 'org.codelibs.elasticsearch.module:analysis-common'
  50. testFixturesImplementation 'org.codelibs.elasticsearch.module:reindex'
  51. testFixturesImplementation 'org.elasticsearch:mocksocket'
  52. testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
  53. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  54. testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
  55. }
  56. test {
  57. // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
  58. useJUnitPlatform()
  59. }