I have a SBT build where the tests create temporary files into a directory called temp. How can I tell SBT to delete this folder when I call the clean task?
The previously suggested solution is deprecated now. Bellow is the code which works for me.
cleanFiles += new java.io.File(path)