mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-30 17:55:19 +02:00
52 lines
1.4 KiB
Groovy
52 lines
1.4 KiB
Groovy
rootProject.name = 'sonarqube'
|
|
|
|
include 'plugins:sonar-xoo-plugin'
|
|
|
|
include 'server:sonar-ce'
|
|
include 'server:sonar-ce-common'
|
|
include 'server:sonar-ce-task'
|
|
include 'server:sonar-ce-task-projectanalysis'
|
|
include 'server:sonar-db-testing'
|
|
include 'server:sonar-db-core'
|
|
include 'server:sonar-db-dao'
|
|
include 'server:sonar-db-migration'
|
|
include 'server:sonar-docs'
|
|
include 'server:sonar-main'
|
|
include 'server:sonar-process'
|
|
include 'server:sonar-server'
|
|
include 'server:sonar-server-common'
|
|
include 'server:sonar-vsts'
|
|
include 'server:sonar-web'
|
|
|
|
include 'sonar-application'
|
|
include 'sonar-check-api'
|
|
include 'sonar-core'
|
|
include 'sonar-duplications'
|
|
include 'sonar-markdown'
|
|
include 'sonar-plugin-api'
|
|
include 'sonar-scanner-engine'
|
|
include 'sonar-scanner-engine-shaded'
|
|
include 'sonar-scanner-protocol'
|
|
include 'sonar-testing-harness'
|
|
include 'sonar-ws'
|
|
include 'sonar-ws-generator'
|
|
|
|
// use Settings.getRootDir() so that it doesn't matter which directory you are executing from
|
|
File extraSettings = new File(rootDir, 'private/settings.gradle')
|
|
if (extraSettings.exists()) {
|
|
apply from: extraSettings
|
|
}
|
|
|
|
ext.isCiServer = System.getenv().containsKey("CI")
|
|
ext.buildCacheHost = System.getenv().getOrDefault("CIRRUS_HTTP_CACHE_HOST", "localhost:12321")
|
|
buildCache {
|
|
local {
|
|
enabled = !isCiServer
|
|
}
|
|
remote(HttpBuildCache) {
|
|
url = "http://" + buildCacheHost + "/"
|
|
enabled = isCiServer
|
|
push = true
|
|
}
|
|
}
|