Skip to content

Plugin can't resolve project accessors with backticks #115

@veyndan

Description

@veyndan

We have a bunch of modules whose name is "interface", because we follow the somewhat common splitting of services et al. into "interface", "fake", and "implementation" modules.

Since we're using Gradle's Kotlin DSL, and "interface" is a keyword in Kotlin, we need to reference the interface modules with project accessors with backticks, something like projects.foo.`interface`.

So having a build.gradle.kts file with something like api(projects.foo.`interface`) gives us the following error:

Could not find project mapping for type-safe project accessor "projects.foo" referenced by :foo:fake

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions