Type-safe accessors for configuration dependencies

Hello,
Is it possible to use type-safe accessors to reference specific configurations from a Gradle project?

e.g.:

dependencies {
    projectAConfiguration(project(path: ":projectB", configuration: "projectBConfiguration"))
}

Thanks

No, such accessors do not exist.

Thanks Bjorn.

Would it be appropriate to add a feature request for such accessors as a GitHub issue (if such does not yes exist)?

It’s Björn or Bjoern, not Bjorn. :wink:

You can of course submit a feature request, I cannot speak for the Gradle folks with which I’m not affiliated in any way.
I have no idea whether this would be considered or not.
But feel free to try your luck. :slight_smile:

Apologies, Bjoern.

OK. TY