modules-graph-assert
modules-graph-assert copied to clipboard
[Feature Request] Support wildcard for configurations
Background
For large multi module projects that contain multiple languages, resources and generated code there could be a lot of custom configurations that are created for example by val someConfig: Configuration by configurations.creating {} in a build.gradle.kts.
Current behavior
Right now, (at least from my understanding) each configuration must be named explicitly.
Feature request It would be great, if we could specify the modules to consider as a regex or just a wildcard, e.g.
moduleGraphAssert {
configurations = setOf("*")
}
What are your thoughts on that?
From a quick scanning of the code it seems that this file would require changes in listAllDependencies function.