Fix xplugins to not omit the first level project name
This commit is contained in:
parent
529e442e2a
commit
21b42e2a42
|
@ -64,9 +64,10 @@ void addSubProjects(String path, File dir) {
|
||||||
if (dir.name == 'buildSrc') return;
|
if (dir.name == 'buildSrc') return;
|
||||||
if (new File(dir, 'build.gradle').exists() == false) return;
|
if (new File(dir, 'build.gradle').exists() == false) return;
|
||||||
|
|
||||||
include path
|
String projectName = "${path}:${dir.name}"
|
||||||
|
include projectName
|
||||||
for (File subdir : dir.listFiles()) {
|
for (File subdir : dir.listFiles()) {
|
||||||
addSubProjects("${path}:${subdir.name}", subdir)
|
addSubProjects(projectName, subdir)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue