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) {
|
|
|
|
url = 'http://amine-bou.fr:8885/cache/'
|
|
|
|
push = isCiServer
|
|
|
|
|
2018-03-28 17:13:47 +00:00
|
|
|
println "push ? " + isCiServer
|
2018-03-27 17:59:34 +00:00
|
|
|
credentials {
|
|
|
|
username = System.getProperty("cacheUser")
|
|
|
|
password = System.getProperty("cachePassword")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|