The default for @ApplicationModule(allowedDependencies) is now a single element list with a dedicated token we recognize as "all dependencies allowed". This allows users to declare an empty array explicitly to disallow any outgoing dependencies for an application module. Previously, such a declaration would have allowed any dependency.
4 lines
156 B
Java
4 lines
156 B
Java
// No explicit allowed dependencies -> all allowed
|
|
@org.springframework.modulith.ApplicationModule(displayName = "Second")
|
|
package example.declared.second;
|