Add task to clean idea build directory. Make cleanIdea task invoke it.

This commit is contained in:
Tim Brooks 2016-12-22 11:24:13 -06:00
parent e1b8528ab8
commit 864e3128e7
1 changed files with 8 additions and 0 deletions

View File

@ -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 {