From 08825bd8d0c501ff18590f4357113c34a026a562 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Fri, 12 Jul 2024 02:22:29 +0300 Subject: [PATCH] Clear out .cxx dir during gradle clean task. Directory is DOTcxx, not just cxx It's an additional build dir --- app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index ed877efe7fbd..42231c32de14 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -170,3 +170,9 @@ dependencies { implementation 'androidx.test.espresso:espresso-idling-resource:3.5.1' implementation 'androidx.annotation:annotation:1.8.0' } + +tasks.named("clean") { + doLast { + delete(new File(projectDir, ".cxx")) + } +}