Skip to content

Cannot include build. This is not supported yet. #170

@LHommeDeBat

Description

@LHommeDeBat

Hi guys,

we are using a multi-project-repository and rely on includeBuild to add dependencies between the projects. One of our projects is using spring-boot and springdoc with the gradle plugin to generate the yaml-files from code.

Recently, we have added a dependency to the spring-boot project using includeBuild(...) in the settings.gradle. Ever since we cannot execute the gradle task to generate the yaml. The execution fails with the following error-message: Cannot include build 'my-dependency' in build ':my_app'. This is not supported yet.

Are there any plans to add this feature in the foreseeable future? Are there any workarounds? What we tried so far is to create a task to automatically run a publishToMavenLocal in the other project. While this seems to work just fine for dependencies, it does not work for plugins, since they need to be available for the task to execute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions