From c17d392d0a26da3c730a56cb66fa645ac22ab1ce Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sun, 15 Sep 2019 15:38:11 +0000 Subject: [PATCH] =?UTF-8?q?Improved:=20Use=20spaces=20instead=20of=20tabs?= =?UTF-8?q?=20in=20=E2=80=9Ccommon.gradle=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- common.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/common.gradle b/common.gradle index 41c53ad3b0..9764df0e01 100644 --- a/common.gradle +++ b/common.gradle @@ -40,16 +40,16 @@ boolean isComponentEnabled(File componentDir) { List 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") }