Skip to content

Support explicit configurations on project dependencies with type safe accessors #141

Description

@TWiStErRob

These ones I'm talking about:

    implementation(project(path = projects.some.thing.subModule.path, configuration = "runtimeElements"))
    implementation(project(projects.some.thing.subModule.path, configuration = "runtimeElements"))

They should be recognized and sorted along with all the others.

At the moment they fail with:

Could not determine dependency identifier. Failed to parse expression:
  `testImplementation(project(path = projects.some.thing.subModule.path, configuration = "runtimeElements"))`
Could not determine dependency identifier. Failed to parse expression:
  `testImplementation(project(projects.some.thing.subModule.path, configuration = "runtimeElements"))`

Note, these work fine:

    compileOnly(project(path = ":some:thing:sub-module", configuration = "apiElements"))
    compileOnly(project(":some:thing:sub-module", configuration = "apiElements"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions