From 99a305f3e287d8c9c5984ce3de3aa17eb0b7843b Mon Sep 17 00:00:00 2001 From: Amine Bou Date: Wed, 28 Mar 2018 21:11:25 +0200 Subject: [PATCH] Cache url as parameter. --- settings.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/settings.gradle b/settings.gradle index 172c951..1c6f998 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,13 +7,9 @@ buildCache { enabled = !isCiServer } remote(HttpBuildCache) { - url = 'http://amine-bou.fr:8885/cache/' + url = System.getProperty("cacheUrl") push = isCiServer - println "push ? " + isCiServer - credentials { - username = System.getProperty("cacheUser") - password = System.getProperty("cachePassword") - } + println "url ? " + System.getProperty("cacheUrl") } } \ No newline at end of file