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
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.ktsfile with something likeapi(projects.foo.`interface`)gives us the following error: