in a gradle build, I get an error `unresolved refe...
# multiplatform
k
in a gradle build, I get an error
unresolved reference: src_shared
from this line:
Copy code
dependencies {
    implementation(projects.src_shared)
src_shared is a directory with its own gradle file, is included in the top level settings.gradle.kts like
include(":src_shared")
- and in fact it was working fine until I tried renaming it from its old name to the new src_shared. The files do exist and all references to the old name have been updated How can I go about debugging this? I dont understand how gradle is trying and failing to resolve this reference
e
https://docs.gradle.org/current/userguide/declaring_dependencies.html#sec:type-safe-project-accessors
A project name with kebab case (
some-lib
) or snake case (
some_lib
) will be converted to camel case in accessors:
projects.someLib
.
k
ohhhh that seems like a good clue!
thanks will try
e
also not a Kotlin or multiplatform issue
k
true but I would not have gotten myself into a gradle file if I werent trying to use kotlin multiplatform