Hello. I am Currently trying to use open api generator to generate api client for my project. How can I add it as a dependency to my shared project?
for example: my api client project name is "dispatchClient"
I generated the project using https://openapi-generator.tech/docs/generators/kotlin/
Creating this also added another build.gradle file in the dispatchClient folder.
And added it in my build.gradle as
Copy code
val commonMain by getting {
dependencies {
implementation(project(":dispatchClient"))
}
}
However I keep getting this message when I try to synch my gradle files
Project with path ':dispatchClient' could not be found in project ':shared'.
Can someone help me understand what I might be doing wrong here? Thanks in advance.