Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to define a base "namespace" in deptective.json #38

Open
gunnarmorling opened this issue Jan 21, 2019 · 0 comments
Open

Allow to define a base "namespace" in deptective.json #38

gunnarmorling opened this issue Jan 21, 2019 · 0 comments

Comments

@gunnarmorling
Copy link
Member

Given that most of the packages of a code base share one or more common base packages, it'd avoid quite some typing in deptective.json if one could define a "namespace" or similar, and all other packages would be resolved relative to that base name. E.g.:

{
    "namespace" : "org.mapstruct",
    "components": [
        {
            "name": "org.mapstruct.ap",
            "contains": [ "ap" ],
            "reads": [
                "org.mapstruct.ap.internal.model",
                "org.mapstruct.ap.internal.option",
                "org.mapstruct.ap.internal.prism",
                "org.mapstruct.ap.internal.processor",
                "org.mapstruct.ap.internal.util",
                "org.mapstruct.ap.spi"
            ]
        },
        {
            "name": "org.mapstruct.ap.internal.conversion",
            "contains": [ "internal.conversion" ],
            "reads": [
                "org.mapstruct.ap.internal.model",
                "org.mapstruct.ap.internal.util"
            ]
        },
        ...
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

No branches or pull requests

1 participant