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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. sonar {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: WebServer :: WebAPI"
  4. }
  5. }
  6. dependencies {
  7. // please keep the list grouped by configuration and ordered by name
  8. api 'com.google.guava:guava'
  9. implementation 'com.github.erosb:json-sKema'
  10. api 'io.prometheus:simpleclient_common'
  11. api 'io.prometheus:simpleclient_servlet'
  12. api project(':server:sonar-ce-common')
  13. api project(':server:sonar-ce-task')
  14. api project(':server:sonar-db-dao')
  15. api project(':server:sonar-process')
  16. api project(':server:sonar-webserver-auth')
  17. api project(':server:sonar-webserver-common')
  18. api project(':server:sonar-webserver-es')
  19. api project(':server:sonar-webserver-ws')
  20. api project(':server:sonar-webserver-pushapi')
  21. api project(':server:sonar-alm-client')
  22. api (project(':server:sonar-auth-saml')) {
  23. exclude group:'org.apache.santuario'
  24. }
  25. api project(':sonar-scanner-protocol')
  26. compileOnlyApi 'com.google.code.findbugs:jsr305'
  27. compileOnlyApi 'javax.servlet:javax.servlet-api'
  28. testImplementation 'org.apache.logging.log4j:log4j-api'
  29. testImplementation 'org.apache.logging.log4j:log4j-core'
  30. testImplementation 'org.assertj:assertj-guava'
  31. testImplementation 'com.google.code.findbugs:jsr305'
  32. testImplementation 'com.tngtech.java:junit-dataprovider'
  33. testImplementation 'com.squareup.okhttp3:mockwebserver'
  34. testImplementation 'javax.servlet:javax.servlet-api'
  35. testImplementation 'org.junit.jupiter:junit-jupiter-api'
  36. testImplementation 'org.mockito:mockito-core'
  37. testImplementation 'org.mockito:mockito-junit-jupiter'
  38. testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  39. testImplementation 'org.springframework:spring-test'
  40. testImplementation testFixtures(project(':server:sonar-server-common'))
  41. testImplementation testFixtures(project(':server:sonar-webserver-api'))
  42. testImplementation testFixtures(project(':server:sonar-webserver-auth'))
  43. testImplementation testFixtures(project(':server:sonar-webserver-es'))
  44. testImplementation testFixtures(project(':server:sonar-webserver-ws'))
  45. testImplementation project(':sonar-testing-harness')
  46. testFixturesApi testFixtures(project(':server:sonar-db-dao'))
  47. testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
  48. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  49. testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
  50. }
  51. test {
  52. // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
  53. useJUnitPlatform()
  54. }