File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,16 @@ boolean isComponentEnabled(File componentDir) {
40
40
41
41
List<File > activeComponents () {
42
42
xmlChildren(" ${ rootDir} /framework/base/config/component-load.xml" )
43
- .map { " ${ rootDir} /" + it. @' parent-directory' }
43
+ .map { " ${ rootDir} /" + it. @' parent-directory' }
44
44
.flatMap({ dir ->
45
- File loader = file(dir + ' /component-load.xml' )
46
- if (loader. exists()) {
47
- xmlChildren(loader). map { file dir + ' /' + it. @' component-location' }
48
- } else {
49
- subdirs file(dir)
50
- }
51
- })
52
- .filter(this . &isComponentEnabled)
45
+ File loader = file(dir + ' /component-load.xml' )
46
+ if (loader. exists()) {
47
+ xmlChildren(loader). map { file dir + ' /' + it. @' component-location' }
48
+ } else {
49
+ subdirs file(dir)
50
+ }
51
+ })
52
+ .filter(this . &isComponentEnabled)
53
53
.collect(Collectors . toList()) + file(" ${ rootDir} /framework/start" )
54
54
}
55
55
You can’t perform that action at this time.
0 commit comments