gradle: Add cleanNeeded task