Build: allow empty build cache url to disable it

This commit is contained in:
Alexander Udalov
2023-06-21 19:29:49 +02:00
committed by Space Team
parent 71cc634a7c
commit 4af1970b28
@@ -49,7 +49,7 @@ buildCache {
}
val remoteBuildCacheUrl = buildProperties.buildCacheUrl
if (remoteBuildCacheUrl != null) {
if (!remoteBuildCacheUrl.isNullOrEmpty()) {
remote<HttpBuildCache> {
url = uri(remoteBuildCacheUrl)
isPush = buildProperties.pushToBuildCache