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.
This commit is contained in:
Benoit Marty 2024-07-01 11:53:43 +02:00
parent ee2ae468ef
commit 20b738b51d

View file

@ -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)