gradlex-org/java-module-dependencies

moduleNamePrefixToGroup mapping should use best fit instead of first match

Closed this issue · 0 comments

E.g. when we have:

moduleNamePrefixToGroup.put("com.", "com.foo")
moduleNamePrefixToGroup.put("com.example.", "com.example.bar")

this should be matched to com.example. and not com.:

requires com.example.module.a;