-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generated sources are recognized as iOS source in Multiplatform Project #1260
Comments
Update: IDE is confused, but it does compile. I suspect this line is the cause, as it adds same directory to every target source sets |
hmmm yea I need to think on this a little. Quick fix is to just only add the generated dir as a source root for common. Will remedy most of the IDE issues but I'd love to have a good solution here where being in the src/iosMain/kotlin folder can reference code generated for src/iosMain/sqldelight & src/commonMain/sqldelight |
|
Same issue here |
Could you get you some solution to this? Same issue. |
when I build the project, SQLDelight sources are generated but recognized as iOS source set, thus can not be referenced from common source set.
below is the excerpt of my configuration.
Android Studio: 3.4-beta05
Kotlin: 1.3.21
SQLDelight: 1.1.1
Gradle: 5.1.1
.sq
files are placed atsrc/commonMain/sqldelight/
and here's the complete project: https://github.com/yshrsmz/GitHubKotlinMPPSample/tree/sqldelight1.1.1
The text was updated successfully, but these errors were encountered: