From 8ae7d4c31342eef01edd6590f34fa14a8ae23c25 Mon Sep 17 00:00:00 2001 From: zenmyo Date: Tue, 5 Sep 2017 16:25:47 +0900 Subject: [PATCH] BIGTOP-2878 : Download task does not work for git repositories --- packages.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.gradle b/packages.gradle index d1a3d186b..966afea85 100644 --- a/packages.gradle +++ b/packages.gradle @@ -185,7 +185,7 @@ def genTasks = { target -> def final GIT_USER_NAME = config.bigtop.components[target].git.user ?: config.bigtop.git.user def final GIT_ACCESS_TOKEN = config.bigtop.components[target].git.token ?: config.bigtop.git.token - if (!DOWNLOAD_URL) + if (!DOWNLOAD_URL && !(GIT_REPO && GIT_REF)) return mkdir(DL_DIR)