Cache from settings.
This commit is contained in:
parent
de43abf019
commit
c87473e8f1
@ -18,4 +18,4 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: mingc/android-build-box:latest
|
image: mingc/android-build-box:latest
|
||||||
commands:
|
commands:
|
||||||
- ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\""
|
- ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false
|
@ -21,3 +21,4 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
|
|||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
ignoreGitVersion=false
|
ignoreGitVersion=false
|
||||||
|
pushCache=true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
val pushCache = true
|
val pushCache: String by settings
|
||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
@ -14,7 +14,7 @@ buildCache {
|
|||||||
isAllowInsecureProtocol = true
|
isAllowInsecureProtocol = true
|
||||||
isAllowUntrustedServer = true
|
isAllowUntrustedServer = true
|
||||||
isUseExpectContinue = true
|
isUseExpectContinue = true
|
||||||
isPush = pushCache
|
isPush = (pushCache == "true")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user