Closed vin0010 closed 1 month ago
Do you know the ArchUnit Gradle plugin from the Société Générale? It might already cover your use case without having to implement your own plugin.
Do you know the ArchUnit Gradle plugin from the Société Générale? It might already cover your use case without having to implement your own plugin.
Let me check, due to an internal regulation, we need to come up with our own plugin.
I did check that, it seems like they used a fancy mechanism to execute rules. Is there a simlper way to execute them in client?
Also my question mostly about how this plugin or task has access to child project classes during runtime?
Thank you.
In our organization, we have a repository where we export a variety of plugins related to checkstyle, PMD, component testing, and Liquibase, among other things. I created a simple plugin with a task that invokes a rule check.
After exporting the plugin and applying it to my child project, I can see the task. However, when I run the task, the rules only check the classes within the plugin. They do not scan any classes in the child project. It seems as though the plugin operates as a self-contained unit.
How can I configure my plugin to run on the classpath of the client project?
} }
FAILURE: Build failed with an exception.
I am new to plugins and need suggestion on whats wrong.
Thank you.