Join Slack
Powered by
Is this possible yet? <https://discuss.kotlinlang...
# multiplatform
m
mrVinicius
02/04/2025, 9:03 PM
Is this possible yet?
https://discuss.kotlinlang.org/t/is-it-possible-to-make-a-library-module-that-is-pure-ko[…]-so-that-it-can-be-consumed-by-any-other-kotlin-module/18
m
Moussa
02/05/2025, 10:15 AM
In your
commonMain
add all your code there and in your gradle file add support to all platforms. With that, gradle will handle the rest
m
mrVinicius
02/05/2025, 12:15 PM
yep, i thought i had to have these folders for multiplatform support, but that's not the case
m
Moussa
02/05/2025, 12:17 PM
No, they are only needed when you are going to implement something specific for a target or when using expect/actual
Open in Slack
Previous
Next