Skip to content

Creating Multi-project Builds > Include the documentation in the distribution archive #383

@lalitupadheyay

Description

@lalitupadheyay

I have to add distribution plugin(id 'distribution') to greeter/build.gradle in order to build the project from root project.

Otherwise I was getting following error while executing $ ./gradlew build from root project:

A problem occurred evaluating project ':greeter'.

Could not find method distZip() for arguments [build_3l19uw4rdyz1ioa27u2uvvxr0$_run_closure2@119427e1] on project ':greeter' of type org.gradle.api.Project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions