hey folks, I’m facing the following warning after moving to Kotlin 1.8.10 from 1.7.*:
w: Opt-in requirement marker kotlin.Experimental is unresolved. Please make sure it’s present in the module dependencies
I couldn’t find any references to this particular opt-in/annotation in my code though.
a
Alex Acosta
02/16/2023, 4:08 PM
might be a dependency that hasn’t been upgraded to Kotlin 1.8
n
Nikolay Kasyanov
02/17/2023, 7:38 AM
@Alex Acosta thank you!
i
ilya.gorbunov
02/18/2023, 12:06 AM
kotlin.Experimental annotation was deprecated and then removed. It was replaced with RequireOptIn, but in general you don't need to pass it to compiler arguments anymore. So check the compiler arguments in your build
n
Nikolay Kasyanov
02/18/2023, 7:48 PM
@ilya.gorbunov thanks! Eventually I found that that opt-in was applied by one of our internal Gradle plugins. Mystery solved 🎉