BIGTOP-1868. Address the custom 'clean' warning Signed-off-by: Evans Ye <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/f83a9c48 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/f83a9c48 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/f83a9c48 Branch: refs/heads/master Commit: f83a9c48af6031015e175326a3a3e25bf749b2f2 Parents: d496567 Author: Konstantin Boudnik <[email protected]> Authored: Fri May 8 16:52:55 2015 -0700 Committer: Evans Ye <[email protected]> Committed: Sat May 9 15:47:32 2015 +0000 ---------------------------------------------------------------------- packages.gradle | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/f83a9c48/packages.gradle ---------------------------------------------------------------------- diff --git a/packages.gradle b/packages.gradle index 7ccf5eb..412de56 100644 --- a/packages.gradle +++ b/packages.gradle @@ -676,12 +676,9 @@ project.afterEvaluate { group: PACKAGES_GROUP ) << { } - task clean (overwrite: true, dependsOn: tasks.findAll { alltask -> alltask.name.endsWith("-clean")}*.name, - description: "Cleaning all components' build and output directories. Overwrites standard clean task", - group: PACKAGES_GROUP) << { - } - task allclean (dependsOn: clean, - description: "Removing $BUILD_DIR, $OUTPUT_DIR, and $DIST_DIR", + task allclean (dependsOn: [clean, tasks.findAll { alltask -> alltask.name.endsWith("-clean")}*.name], + description: "Removing $BUILD_DIR, $OUTPUT_DIR, and $DIST_DIR.\n\t\t" + + "Cleaning all components' build and output directories.", group: PACKAGES_GROUP) << { delete (BUILD_DIR) delete (OUTPUT_DIR)
