Replies: 1 comment 2 replies
-
You can use an ignore for that:
My problem with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my Hexagon Architected Spring Boot app, I have the main class (
BlackjackGameApplication
), with the@SpringBootApplication
annotation that does the bootstrap configuration of the application. It does this by instantiating objects in the App Service Layer and the Domain. However, the bootstrap class itself is in the root package (dev.ted.blackjack
). There doesn't appear to be a way to tell ArchUnit'sArchitectures.onionArchitecture()
that this class can reference anything (it's just transient configuration, so it is OK).I can exclude that class from being imported altogether (using
withImportOption
), but would be nice if I could specify it as part of the Architectures rule, e.g.,bootstrapClass("dev.ted.BlackjackGameApplication")
.Am I missing something? If not, I can open an issue.
Beta Was this translation helpful? Give feedback.
All reactions