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
4ccbe3a7ec
commit
c4bb13098f
1 changed files with 3 additions and 1 deletions
|
|
@ -248,7 +248,9 @@ knit {
|
||||||
dependencies {
|
dependencies {
|
||||||
allLibrariesImpl()
|
allLibrariesImpl()
|
||||||
allServicesImpl()
|
allServicesImpl()
|
||||||
allEnterpriseImpl(rootDir, logger)
|
if (isEnterpriseBuild) {
|
||||||
|
allEnterpriseImpl(rootDir, logger)
|
||||||
|
}
|
||||||
allFeaturesImpl(rootDir, logger)
|
allFeaturesImpl(rootDir, logger)
|
||||||
implementation(projects.features.migration.api)
|
implementation(projects.features.migration.api)
|
||||||
implementation(projects.anvilannotations)
|
implementation(projects.anvilannotations)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue