From 42c365fe70cb01a661c3e25f61a0636ba011ad9f Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Mon, 6 Jun 2022 23:05:39 +0100 Subject: [PATCH] Automatically exclude llvm and boost submodules in gradle project There is a god in this world... his name is bylaws --- app/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index ed77e982..2b270e0c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,6 +3,13 @@ plugins { id 'kotlin-android' id 'kotlin-kapt' id 'dagger.hilt.android.plugin' + id 'idea' +} + +idea.module { + // These are not viable to index on most systems to exclude them to prevent IDE crashes + excludeDirs.add(file("libraries/boost")) + excludeDirs.add(file("libraries/llvm")) } android {