Cache from settings.

This commit is contained in:
aminecmi
2022-08-19 22:30:27 +02:00
parent de43abf019
commit c87473e8f1
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
val pushCache = true
val pushCache: String by settings
pluginManagement {
repositories {
@@ -14,7 +14,7 @@ buildCache {
isAllowInsecureProtocol = true
isAllowUntrustedServer = true
isUseExpectContinue = true
isPush = pushCache
isPush = (pushCache == "true")
}
}