Skip to content

Consider moving away from subprojects block for subproject configuration #1990

Open
@sebersole

Description

@sebersole

Using subprojects {} from build is considered an anti-pattern. Actually, referencing any project from another is consider an anit-pattern. It forces all of the projects to be evaluated and configured even if running tasks in just one.

In ORM, e.g., we instead use common script fragments applied to subprojects as appropriate.

An even better option is local plugins to accomplish this - I have just not done this yet with ORM which is more complex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildSomething related to the build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions