https://kotlinlang.org logo
#scripting
Title
# scripting
l

louiscad

07/01/2021, 8:37 AM
How can I tell the IDE to resolve Kotlin 1.5 for my
.main.kts
scripts? IDEA and Android Studio take the Kotlin version of the current Gradle project, while they share no Kotlin version.
Depending on kotlinx.coroutines 1.5.0 did the trick thanks to transitive dependency on version 1.5 of Kotlin stdlib, which has been picked up by the IDE.