diff --git a/build.gradle b/build.gradle index 8f2f82d43c3..23c3e09ad38 100644 --- a/build.gradle +++ b/build.gradle @@ -47,7 +47,7 @@ project.ext.numCpus = Runtime.runtime.availableProcessors() task cppClean(type: Exec) { commandLine bash - args '-c', 'source cpp/set_env.sh && ' + make + ' clean' + args '-c', 'source cpp/set_env.sh && rm -rf cppdistribution && ' + make + ' clean' } task cppObjCompile(type: Exec) {