Skip to content

Circular dependency error when build includes itself #141

@stiost

Description

@stiost

I get the following error when using this on a project that does dependency substitution:

Circular dependency between the following tasks:
:ForceDependencyResolutionPlugin_resolveAllDependencies
\--- :ForceDependencyResolutionPlugin_resolveAllDependencies (*)

Relevant snippet from settings.gradle (it works if I remove this block):

includeBuild(".") {
  dependencySubstitution {
    substitute module("x") using project(':')
  }
}

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