From 21b42e2a42138af63e6f50fe5dd47c585fea7e12 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 23 Nov 2015 15:15:40 -0800 Subject: [PATCH] Fix xplugins to not omit the first level project name --- settings.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/settings.gradle b/settings.gradle index fd16d9ff20f..a8a37efd731 100644 --- a/settings.gradle +++ b/settings.gradle @@ -64,9 +64,10 @@ void addSubProjects(String path, File dir) { if (dir.name == 'buildSrc') return; if (new File(dir, 'build.gradle').exists() == false) return; - include path + String projectName = "${path}:${dir.name}" + include projectName for (File subdir : dir.listFiles()) { - addSubProjects("${path}:${subdir.name}", subdir) + addSubProjects(projectName, subdir) } }