I’m having trouble with `kotlin.streams.asStream` ...
# multiplatform
c
I’m having trouble with
kotlin.streams.asStream
and
kotlin.streams.asSequence
. These extension functions require Java 1.8. I have a multiplatform library set up with Kotlin 1.4. In my JVM target, I’m trying to use Java streams. Based on the docs, it sounds like Java 1.8 should be the default now without any configuration needed. However my build is failing with
Unresolved reference: streams
and
Unresolved reference: asStream
. Is there something special I need to do in order to use these functions?