Build: allow empty build cache url to disable it
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user