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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. description = 'Code of the Compute Engine task processing project analysis reports'
  2. sonarqube {
  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. configurations {
  15. tests
  16. testCompile.extendsFrom compileOnly
  17. }
  18. dependencies {
  19. // please keep the list grouped by configuration and ordered by name
  20. compile 'org.slf4j:jul-to-slf4j'
  21. compile 'org.slf4j:slf4j-api'
  22. compile 'commons-codec:commons-codec'
  23. compile 'commons-io:commons-io'
  24. compile 'commons-lang:commons-lang'
  25. compile 'com.google.code.gson:gson'
  26. compile 'com.google.guava:guava'
  27. compile 'com.google.code.findbugs:jsr305'
  28. compile 'com.google.protobuf:protobuf-java'
  29. compile 'com.googlecode.java-diff-utils:diffutils'
  30. compile 'org.mybatis:mybatis'
  31. compile 'org.picocontainer:picocontainer'
  32. compile project(':sonar-core')
  33. compile project(':server:sonar-ce-task')
  34. compile project(':server:sonar-db-core')
  35. compile project(':server:sonar-db-dao')
  36. compile project(':server:sonar-db-migration')
  37. compile project(':server:sonar-process')
  38. compile project(':server:sonar-server-common')
  39. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  40. compile project(':sonar-plugin-api-impl')
  41. compile project(':sonar-duplications')
  42. compile project(':sonar-scanner-protocol')
  43. compileOnly 'com.google.code.findbugs:jsr305'
  44. testCompile 'com.google.code.findbugs:jsr305'
  45. testCompile 'com.h2database:h2'
  46. testCompile 'com.tngtech.java:junit-dataprovider'
  47. testCompile 'junit:junit'
  48. testCompile 'org.apache.logging.log4j:log4j-api'
  49. testCompile 'org.apache.logging.log4j:log4j-core'
  50. testCompile 'org.assertj:assertj-core'
  51. testCompile 'org.assertj:assertj-guava'
  52. testCompile 'org.mockito:mockito-core'
  53. testCompile 'org.reflections:reflections'
  54. testCompile project(':server:sonar-db-testing')
  55. testCompile project(':sonar-testing-harness')
  56. testCompile project(path: ":server:sonar-ce-task", configuration: "tests")
  57. testCompile project(path: ":server:sonar-server", configuration: "tests")
  58. testCompile project(path: ":server:sonar-server-common", configuration: "tests")
  59. }
  60. task testJar(type: Jar) {
  61. classifier = 'tests'
  62. from sourceSets.test.output
  63. }
  64. artifacts {
  65. tests testJar
  66. }