Improved: Use spaces instead of tabs in “common.gradle”

Thanks: Samuel Trégouët for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mathieu Lirzin
2019-09-15 15:38:11 +00:00
parent 3236e70c20
commit c17d392d0a
+9 -9
View File
@@ -40,16 +40,16 @@ boolean isComponentEnabled(File componentDir) {
List<File> activeComponents() {
xmlChildren("${rootDir}/framework/base/config/component-load.xml")
.map { "${rootDir}/" + it.@'parent-directory' }
.map { "${rootDir}/" + it.@'parent-directory' }
.flatMap({ dir ->
File loader = file(dir + '/component-load.xml')
if (loader.exists()) {
xmlChildren(loader).map { file dir + '/' + it.@'component-location' }
} else {
subdirs file(dir)
}
})
.filter(this.&isComponentEnabled)
File loader = file(dir + '/component-load.xml')
if (loader.exists()) {
xmlChildren(loader).map { file dir + '/' + it.@'component-location' }
} else {
subdirs file(dir)
}
})
.filter(this.&isComponentEnabled)
.collect(Collectors.toList()) + file("${rootDir}/framework/start")
}