Add task to clean idea build directory. Make cleanIdea task invoke it.
This commit is contained in:
parent
e1b8528ab8
commit
864e3128e7
|
@ -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 {
|
idea {
|
||||||
|
|
Loading…
Reference in New Issue