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 {