Просмотр исходного кода

SONAR-10860 Make sonar-web cacheable with sonar-docs

tags/7.5
Eric Hartmann 5 лет назад
Родитель
Сommit
9973bacbfa
3 измененных файлов: 4 добавлений и 2 удалений
  1. 1
    1
      build.gradle
  2. 2
    0
      server/sonar-docs/build.gradle
  3. 1
    1
      server/sonar-web/build.gradle

+ 1
- 1
build.gradle Просмотреть файл

@@ -421,7 +421,7 @@ artifactory {
'com.sonarsource.sonarqube:sonarqube-developer:yguard,' +
'com.sonarsource.sonarqube:sonarqube-datacenter:yguard,' +
'com.sonarsource.sonarqube:sonarqube-enterprise:yguard,' +
'com.sonarsource.sonarqube:docs:zip')
'com.sonarsource.sonarqube:sonar-docs:zip')
// The name of this variable is important because it's used by the delivery process when extracting version from Artifactory build info.
clientConfig.info.addEnvironmentProperty('PROJECT_VERSION', "${version}")
}

+ 2
- 0
server/sonar-docs/build.gradle Просмотреть файл

@@ -6,6 +6,8 @@ sonarqube {
skipProject = true
}

group = 'com.sonarsource'

apply plugin: 'com.moowork.node'

node {

+ 1
- 1
server/sonar-web/build.gradle Просмотреть файл

@@ -57,7 +57,7 @@ node {

yarn_run {
if (official) { dependsOn copyBranding }
['config', 'public', 'scripts', 'src'].each {
['config', 'public', 'scripts', 'src', '../sonar-docs/src'].each {
inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
}
['.babelrc', 'build.gradle', 'package.json', 'tsconfig.json', 'yarn.lock'].each {

Загрузка…
Отмена
Сохранить