mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 06:46:10 +00:00
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 (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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user