Hello! How can I configure stdlib dependency in co...
# multiplatform
s
Hello! How can I configure stdlib dependency in common module in IDEA? Currently it complains about "Kotlin not configured", but suggests only Java or JavaScript configurators
b
Do you use IDEA project?
If so you: open “Project structure” open “Facets” add “Kotlin” facet and link with module setup the “Target platform” for the facet
but better way is using gradle
s
Do you have any examples of
build.gradle
for such setup?
I set up kotlin facet, but I don't know how to add stdlib to module dependencies, and seems it's not working without it
Or any other project what is using
kotlin-platform-*
gradle plugin https://github.com/search?q=kotlin-platform-common&type=Code&utf8=%E2%9C%93