Przeglądaj źródła

Use build-in Cirrus CI HTTP cache for gradle build cache.

tags/8.7.0.41497
Malena Ebert 3 lat temu
rodzic
commit
8ab6570b7c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      settings.gradle

+ 2
- 2
settings.gradle Wyświetl plik

@@ -50,14 +50,14 @@ include 'sonar-testing-ldap'
include 'sonar-ws'
include 'sonar-ws-generator'

ext.isCiServer = System.getenv().containsKey("CIRRUS_CI")

// 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("CIRRUS_CI")

buildCache {
local {
enabled = !isCiServer

Ładowanie…
Anuluj
Zapisz