# multiplatform

Meherdatta Chepuri

02/17/2023, 11:02 PM
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 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 {
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.

Michal Harakal

02/20/2023, 5:41 PM
did you included the new generated gradle module
into you project? (via include in