From c4bb13098fb64460a5059da14cdcff6b814259f4 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 1 Jul 2024 11:53:43 +0200 Subject: [PATCH] Add a check on `isEnterpriseBuild` before including enterprise module. This is not strictly necessary, since if the enterprise modules are not there, nothing will be included by `allEnterpriseImpl()`, but for clarity, it's better to add this check. --- app/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 58110245cd..50a9254398 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -248,7 +248,9 @@ knit { dependencies { allLibrariesImpl() allServicesImpl() - allEnterpriseImpl(rootDir, logger) + if (isEnterpriseBuild) { + allEnterpriseImpl(rootDir, logger) + } allFeaturesImpl(rootDir, logger) implementation(projects.features.migration.api) implementation(projects.anvilannotations)