From 64734731c19dbdb8b9988bd2bf4edb9d4dedb0a8 Mon Sep 17 00:00:00 2001 From: e Date: Wed, 30 Aug 2023 11:21:39 -0300 Subject: [PATCH] Android: disable http caching in ci --- Android/gradle/buildCacheSettings.gradle | 26 ++++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Android/gradle/buildCacheSettings.gradle b/Android/gradle/buildCacheSettings.gradle index 331e7884ecf..fad93095e22 100644 --- a/Android/gradle/buildCacheSettings.gradle +++ b/Android/gradle/buildCacheSettings.gradle @@ -1,14 +1,14 @@ -ext.isCiServer = System.getenv().containsKey("CIRRUS_CI") -ext.isMasterBranch = System.getenv()["CIRRUS_BRANCH"] == "master" -ext.buildCacheHost = System.getenv().getOrDefault("CIRRUS_HTTP_CACHE_HOST", "localhost:12321") +// ext.isCiServer = System.getenv().containsKey("CIRRUS_CI") +// ext.isMasterBranch = System.getenv()["CIRRUS_BRANCH"] == "master" +// ext.buildCacheHost = System.getenv().getOrDefault("CIRRUS_HTTP_CACHE_HOST", "localhost:12321") -buildCache { - local { - enabled = !isCiServer - } - remote(HttpBuildCache) { - url = "http://${buildCacheHost}/" - enabled = isCiServer - push = isMasterBranch - } -} +// buildCache { +// local { +// enabled = !isCiServer +// } +// remote(HttpBuildCache) { +// url = "http://${buildCacheHost}/" +// enabled = isCiServer +// push = isMasterBranch +// } +// }