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:
parent
ee2ae468ef
commit
20b738b51d
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue