From 26be180d50100fafdb28af8b3b74bce271785bd3 Mon Sep 17 00:00:00 2001 From: mcarare Date: Tue, 1 Oct 2024 06:57:53 +0000 Subject: [PATCH] Bug 1897176 - Allow unit tests to access and use app resources. r=tthibaud Differential Revision: https://phabricator.services.mozilla.com/D223722 --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index 42aa2fa98196..39809a99d33a 100644 --- a/build.gradle +++ b/build.gradle @@ -139,6 +139,9 @@ allprojects { if (it.hasProperty('android')) { android { buildToolsVersion gradle.mozconfig.substs.ANDROID_BUILD_TOOLS_VERSION + testOptions { + unitTests.includeAndroidResources = true + } } } }