2017-05-27 21:05:27 +00:00
|
|
|
include ':app'
|
2018-03-27 17:59:34 +00:00
|
|
|
|
|
|
|
ext.isCiServer = !!System.getProperty("CI")
|
|
|
|
|
|
|
|
buildCache {
|
|
|
|
local {
|
|
|
|
enabled = !isCiServer
|
|
|
|
}
|
|
|
|
remote(HttpBuildCache) {
|
2018-03-28 19:11:25 +00:00
|
|
|
url = System.getProperty("cacheUrl")
|
2018-03-27 17:59:34 +00:00
|
|
|
push = isCiServer
|
|
|
|
|
2018-03-28 19:11:25 +00:00
|
|
|
println "url ? " + System.getProperty("cacheUrl")
|
2018-03-27 17:59:34 +00:00
|
|
|
}
|
|
|
|
}
|