From 864e3128e76608ddcb8ec0aa8a957ee5fe21b617 Mon Sep 17 00:00:00 2001 From: Tim Brooks Date: Thu, 22 Dec 2016 11:24:13 -0600 Subject: [PATCH] Add task to clean idea build directory. Make cleanIdea task invoke it. --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index ba19a993bdc..1159352cd5d 100644 --- a/build.gradle +++ b/build.gradle @@ -204,6 +204,14 @@ allprojects { } } } + + task cleanIdeaBuildDir(type: Delete) { + delete 'build-idea' + } + cleanIdeaBuildDir.setGroup("ide") + cleanIdeaBuildDir.setDescription("Deletes the IDEA build directory.") + + tasks.cleanIdea.dependsOn(cleanIdeaBuildDir) } idea {