A possible solution for standalone Kotlin projects is to include Kotlin standard libs explicitliy inside the root project.
To do that in IntelliJ IDEA:
- press Ctrl+Shift+A (Search actions or options)
- type in "Configure kotlin in project" and let it include standard libs for you