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 3.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. sonarqube {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Server"
  4. }
  5. }
  6. import org.apache.tools.ant.filters.ReplaceTokens
  7. processResources {
  8. filesMatching('build.properties') {
  9. filter ReplaceTokens, tokens: [
  10. 'buildNumber': release ? 'git rev-parse HEAD'.execute().text.trim() : 'N/A'
  11. ]
  12. }
  13. }
  14. dependencies {
  15. // please keep the list grouped by configuration and ordered by name
  16. compile 'ch.qos.logback:logback-access'
  17. compile 'ch.qos.logback:logback-classic'
  18. compile 'ch.qos.logback:logback-core'
  19. compile 'com.google.code.gson:gson'
  20. compile 'com.google.protobuf:protobuf-java'
  21. compile 'commons-dbutils:commons-dbutils'
  22. compile 'io.jsonwebtoken:jjwt-api'
  23. compile 'io.jsonwebtoken:jjwt-impl'
  24. compile 'org.apache.httpcomponents:httpclient'
  25. compile 'org.apache.logging.log4j:log4j-api'
  26. compile 'org.apache.tomcat.embed:tomcat-embed-core'
  27. compile 'org.apache.commons:commons-dbcp2'
  28. compile 'org.picocontainer:picocontainer'
  29. compile 'org.slf4j:jul-to-slf4j'
  30. compile 'org.slf4j:slf4j-api'
  31. compile 'org.sonarsource.update-center:sonar-update-center-common'
  32. compile 'org.mindrot:jbcrypt'
  33. compile project(':server:sonar-ce-common')
  34. compile project(':server:sonar-ce-task')
  35. compile project(':server:sonar-ce-task-projectanalysis')
  36. compile project(':server:sonar-db-dao')
  37. compile project(':server:sonar-db-migration')
  38. compile project(':server:sonar-process')
  39. compile project(':server:sonar-server-common')
  40. compile project(':server:sonar-webserver-auth')
  41. compile project(':server:sonar-webserver-common')
  42. compile project(':server:sonar-webserver-es')
  43. compile project(':sonar-core')
  44. compile project(':sonar-duplications')
  45. compile project(':sonar-scanner-protocol')
  46. compile project(':sonar-markdown')
  47. compile project(path: ':sonar-plugin-api', configuration: 'shadow')
  48. compile project(':sonar-plugin-api-impl')
  49. compile project(':sonar-ws')
  50. compileOnly 'com.google.code.findbugs:jsr305'
  51. // not a transitive dep. At runtime lib/jdbc/h2 is used
  52. compileOnly 'com.h2database:h2'
  53. testCompile 'com.github.kevinsawicki:http-request'
  54. testCompile 'com.google.code.findbugs:jsr305'
  55. testCompile 'com.h2database:h2'
  56. testCompile 'com.squareup.okhttp3:mockwebserver'
  57. testCompile 'com.tngtech.java:junit-dataprovider'
  58. testCompile 'junit:junit'
  59. testCompile 'org.apache.logging.log4j:log4j-api'
  60. testCompile 'org.apache.logging.log4j:log4j-core'
  61. testCompile 'org.assertj:assertj-core'
  62. testCompile 'org.assertj:assertj-guava'
  63. testCompile 'org.eclipse.jetty:jetty-server'
  64. testCompile 'org.eclipse.jetty:jetty-servlet'
  65. testCompile 'org.hamcrest:hamcrest-all'
  66. testCompile 'org.mockito:mockito-core'
  67. testCompile 'org.subethamail:subethasmtp'
  68. testCompile project(':server:sonar-db-testing')
  69. testCompile project(path: ":server:sonar-server-common", configuration: "tests")
  70. testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
  71. testCompile project(path: ":server:sonar-webserver-es", configuration: "tests")
  72. testCompile project(path: ":server:sonar-webserver-ws", configuration: "tests")
  73. testCompile project(':sonar-testing-harness')
  74. runtime 'io.jsonwebtoken:jjwt-jackson'
  75. }