riy / degraph

Test and Visualize and Manage Dependencies of classes and packages in JVM Byte Code (think Scala and Java)
http://riy.github.io/degraph/
Other
311 stars 36 forks source link

Allow wildcards with allow #73

Closed ahus1 closed 6 years ago

ahus1 commented 7 years ago

I have a setup where there are multiple adapters. The list of adapters is growing, and they shouldn't depend on each other.

It would be nice if degraph would allow wildcard with allow like this...

classpath
    .withSlicing("layer", "de.schauderhaft.app.(adapter.*).**")
        .allow(oneOf("adapter.*"))

... instead of listing all current adapters as inside of oneOf()

Thanks!

ahus1 commented 6 years ago

Closing my own issue due to inactivity and my move to https://github.com/TNG/ArchUnit