-
Notifications
You must be signed in to change notification settings - Fork 183
Description
ApplicationModules,ModuleSorter orders modules topologically, then orders all modules within the same dependency level (siblings, cousins...) lexicographically by ApplicationModuleIdentifier. Currently, the only way to customize ordering among modules on the same level is to rename the modules or force a dependency in order to impose a hierarchy between them.
Request: Add an extension point to customize ordering within each topological level while preserving dependency constraints. This would keep default behavior unchanged while allowing deterministic, intentional ordering among all modules that share a dependency level.
Use case: This would help, for example, control the order in which ApplicationModuleInitializers execute across modules in the same dependency level that otherwise have no hierarchical relationship between them.