From b937caa85558a3767a7bf06150a9c60ac9c6ca24 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 16 Feb 2021 12:24:32 -0500 Subject: [PATCH] Disable unused AGP features (#5872) --- common.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common.gradle b/common.gradle index 903d0d593..dce2d536d 100644 --- a/common.gradle +++ b/common.gradle @@ -43,6 +43,14 @@ android { includeInApk = false } + buildFeatures { + // Disable unused AGP features + aidl false + renderScript false + resValues false + shaders false + } + compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8