Skip to content

Core locking and composite builds #57

@OdysseusLives

Description

@OdysseusLives

Composite builds throw an error when I have locked all of my dependencies

Given that I am using Gradle core locks in the project composite
And I have locked my dependencies
When I define a composite build via settings.gradle
Then I expect my composite build to work without error

Actual behavior: I receive an error:

Could not determine the dependencies of task ':compileJava'.
> Could not resolve all task dependencies for configuration ':compileClasspath'.
   > Did not resolve 'gradle.nebula.integration:dependency-project:0.1.0' which is part of the dependency lock state

This looks to be captured in gradle/gradle/#4749

The issue is recreated in a 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