Skip to content

Use the Structural plugin to detect undesired package dependencies.#511

Merged
toddjonker merged 1 commit intoion-fusion:mainfrom
toddjonker:build/structural
Apr 4, 2026
Merged

Use the Structural plugin to detect undesired package dependencies.#511
toddjonker merged 1 commit intoion-fusion:mainfrom
toddjonker:build/structural

Conversation

@toddjonker
Copy link
Copy Markdown
Member

https://github.com/adrianczuczka/structural

Run ./gradlew structuralCheck to check for violations.

Some violations are currently expected.

Description

This tool allows modeling the allowed dependencies between Java packages and reports violations. I've not fully modeled the intended graph, but this covers the core packages.

At this commit there are three violations expected; Structural has a exception mechanism that I'll circle back to later, with the aim of making this check part of the release build.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@toddjonker toddjonker requested a review from SharkBaitDLS as a code owner April 4, 2026 18:55
https://github.com/adrianczuczka/structural

Run `./gradlew structuralCheck` to check for violations.

Some violations are currently expected.
@toddjonker toddjonker changed the title WIP Use the Structural plugin to detect undesired package dependencies. Use the Structural plugin to detect undesired package dependencies. Apr 4, 2026
@SharkBaitDLS
Copy link
Copy Markdown
Contributor

Neat!

@toddjonker toddjonker merged commit eef8080 into ion-fusion:main Apr 4, 2026
4 checks passed
@toddjonker toddjonker deleted the build/structural branch April 4, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants