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.

settings.gradle 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. pluginManagement {
  2. repositories {
  3. def artifactoryPassword = System.env.'ARTIFACTORY_PRIVATE_PASSWORD'
  4. maven {
  5. if (artifactoryPassword) {
  6. url 'https://repox.jfrog.io/repox/plugins.gradle.org/'
  7. authentication {
  8. header(HttpHeaderAuthentication)
  9. }
  10. credentials(HttpHeaderCredentials) {
  11. name = "Authorization"
  12. value = "Bearer $artifactoryPassword"
  13. }
  14. } else {
  15. url 'https://plugins.gradle.org/m2/'
  16. }
  17. }
  18. }
  19. plugins {
  20. id 'com.bmuschko.docker-remote-api' version '7.3.0'
  21. id 'org.ajoberstar.grgit' version '4.1.1'
  22. }
  23. }
  24. rootProject.name = 'sonarqube'
  25. include 'plugins:sonar-xoo-plugin'
  26. include 'plugins:sonar-education-plugin'
  27. include 'server:sonar-auth-common'
  28. include 'server:sonar-auth-bitbucket'
  29. include 'server:sonar-auth-github'
  30. include 'server:sonar-auth-gitlab'
  31. include 'server:sonar-auth-ldap'
  32. include 'server:sonar-auth-saml'
  33. include 'server:sonar-ce'
  34. include 'server:sonar-ce-common'
  35. include 'server:sonar-ce-task'
  36. include 'server:sonar-ce-task-projectanalysis'
  37. include 'server:sonar-db-core'
  38. include 'server:sonar-db-dao'
  39. include 'server:sonar-db-migration'
  40. include 'server:sonar-main'
  41. include 'server:sonar-process'
  42. include 'server:sonar-server-common'
  43. include 'server:sonar-web'
  44. include 'server:sonar-web:design-system'
  45. include 'server:sonar-webserver'
  46. include 'server:sonar-webserver-api'
  47. include 'server:sonar-webserver-auth'
  48. include 'server:sonar-webserver-common'
  49. include 'server:sonar-webserver-core'
  50. include 'server:sonar-webserver-es'
  51. include 'server:sonar-webserver-webapi'
  52. include 'server:sonar-webserver-webapi-v2'
  53. include 'server:sonar-webserver-pushapi'
  54. include 'server:sonar-webserver-ws'
  55. include 'server:sonar-alm-client'
  56. include 'server:sonar-webserver-monitoring'
  57. include 'sonar-application'
  58. include 'sonar-core'
  59. include 'sonar-duplications'
  60. include 'sonar-markdown'
  61. include 'sonar-plugin-api-impl'
  62. include 'sonar-scanner-engine'
  63. include 'sonar-scanner-engine-shaded'
  64. include 'sonar-scanner-protocol'
  65. include 'sonar-shutdowner'
  66. include 'sonar-testing-harness'
  67. include 'sonar-testing-ldap'
  68. include 'sonar-ws'
  69. include 'sonar-ws-generator'
  70. include 'test-monitoring'
  71. include 'ut-monitoring'
  72. ext.isCiServer = System.getenv().containsKey("CIRRUS_CI")
  73. // use Settings.getRootDir() so that it doesn't matter which directory you are executing from
  74. File extraSettings = new File(rootDir, 'private/private-settings.gradle')
  75. if (extraSettings.exists()) {
  76. apply from: extraSettings
  77. }
  78. buildCache {
  79. local {
  80. enabled = !isCiServer
  81. }
  82. }