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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. description = 'Code of the Compute Engine task processing project analysis reports'
  2. sonar {
  3. properties {
  4. property 'sonar.projectName', "${projectTitle} :: Compute Engine :: Task :: Project Analysis"
  5. }
  6. }
  7. sourceSets {
  8. test {
  9. resources {
  10. srcDirs += ['src/test/projects']
  11. }
  12. }
  13. }
  14. dependencies {
  15. // please keep the list grouped by configuration and ordered by name
  16. api 'org.slf4j:jul-to-slf4j'
  17. api 'org.slf4j:slf4j-api'
  18. api 'net.sf.trove4j:core:3.1.0'
  19. api 'commons-codec:commons-codec'
  20. api 'commons-io:commons-io'
  21. api 'org.apache.commons:commons-lang3'
  22. api 'com.google.code.gson:gson'
  23. api 'com.google.guava:guava'
  24. api 'com.google.code.findbugs:jsr305'
  25. api 'com.google.protobuf:protobuf-java'
  26. api 'com.googlecode.java-diff-utils:diffutils'
  27. api 'org.mybatis:mybatis'
  28. api 'org.sonarsource.api.plugin:sonar-plugin-api'
  29. api project(':sonar-core')
  30. api project(':server:sonar-ce-common')
  31. api project(':server:sonar-ce-task')
  32. api project(':server:sonar-db-migration')
  33. api project(':server:sonar-process')
  34. api project(':server:sonar-server-common')
  35. api project(':sonar-plugin-api-impl')
  36. api project(':sonar-duplications')
  37. api project(':sonar-scanner-protocol')
  38. compileOnlyApi 'com.google.code.findbugs:jsr305'
  39. api project(':server:sonar-db-dao')
  40. testImplementation 'com.google.code.findbugs:jsr305'
  41. testImplementation 'com.tngtech.java:junit-dataprovider'
  42. testImplementation 'org.apache.logging.log4j:log4j-api'
  43. testImplementation 'org.apache.logging.log4j:log4j-core'
  44. testImplementation 'org.assertj:assertj-core'
  45. testImplementation 'org.assertj:assertj-guava'
  46. testImplementation 'org.junit.jupiter:junit-jupiter-api'
  47. testImplementation 'org.junit.jupiter:junit-jupiter-params'
  48. testImplementation 'org.reflections:reflections'
  49. testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures'
  50. testImplementation project(':sonar-testing-harness')
  51. testImplementation testFixtures(project(':server:sonar-server-common'))
  52. testFixturesApi 'junit:junit'
  53. testFixturesApi 'org.assertj:assertj-core'
  54. testFixturesApi 'org.junit.jupiter:junit-jupiter-api'
  55. testFixturesApi 'org.mockito:mockito-core'
  56. testFixturesApi testFixtures(project(':server:sonar-ce-task'))
  57. testFixturesCompileOnly 'com.google.code.findbugs:jsr305'
  58. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  59. testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
  60. }
  61. test {
  62. // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
  63. useJUnitPlatform()
  64. }