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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. implementation 'org.apache.commons:commons-text'
  13. api project(':server:sonar-ce-common')
  14. api project(':server:sonar-ce-task')
  15. api project(':server:sonar-db-dao')
  16. api project(':server:sonar-process')
  17. api project(':server:sonar-webserver-auth')
  18. api project(':server:sonar-webserver-common')
  19. api project(':server:sonar-webserver-es')
  20. api project(':server:sonar-webserver-ws')
  21. api project(':server:sonar-webserver-pushapi')
  22. api project(':server:sonar-alm-client')
  23. api (project(':server:sonar-auth-saml')) {
  24. exclude group:'org.apache.santuario'
  25. }
  26. api project(':sonar-scanner-protocol')
  27. compileOnlyApi 'com.google.code.findbugs:jsr305'
  28. compileOnlyApi 'javax.servlet:javax.servlet-api'
  29. testImplementation 'org.apache.logging.log4j:log4j-api'
  30. testImplementation 'org.apache.logging.log4j:log4j-core'
  31. testImplementation 'org.assertj:assertj-guava'
  32. testImplementation 'com.google.code.findbugs:jsr305'
  33. testImplementation 'com.tngtech.java:junit-dataprovider'
  34. testImplementation 'com.squareup.okhttp3:mockwebserver'
  35. testImplementation 'javax.servlet:javax.servlet-api'
  36. testImplementation 'org.junit.jupiter:junit-jupiter-api'
  37. testImplementation 'org.mockito:mockito-core'
  38. testImplementation 'org.mockito:mockito-junit-jupiter'
  39. testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  40. testImplementation 'org.springframework:spring-test'
  41. testImplementation testFixtures(project(':server:sonar-server-common'))
  42. testImplementation testFixtures(project(':server:sonar-webserver-api'))
  43. testImplementation testFixtures(project(':server:sonar-webserver-auth'))
  44. testImplementation testFixtures(project(':server:sonar-webserver-es'))
  45. testImplementation testFixtures(project(':server:sonar-webserver-ws'))
  46. testImplementation project(':sonar-testing-harness')
  47. testFixturesApi testFixtures(project(':server:sonar-db-dao'))
  48. testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
  49. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  50. testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
  51. }
  52. test {
  53. // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
  54. useJUnitPlatform()
  55. }