Skip to content
Permalink
Browse files

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
  • Loading branch information
mthl committed Sep 15, 2019
1 parent 3236e70 commit c17d392d0a26da3c730a56cb66fa645ac22ab1ce
Showing with 9 additions and 9 deletions.
  1. +9 −9 common.gradle
@@ -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")
}

0 comments on commit c17d392

Please sign in to comment.
You can’t perform that action at this time.