notation become stable? I'm pretty sure I've used in many projects without warnings, but now I see a
This declaration is experimental due to signature types and its usage must be marked (will become an error in future releases) with '@kotlin.time.ExperimentalTime' or '@OptIn(kotlin.time.ExperimentalTime::class)'
.
h
hfhbd
09/11/2023, 3:24 PM
1.6
c
CLOVIS
09/11/2023, 3:25 PM
Thanks, that's what I thought, it's not a new thing.
CLOVIS
09/11/2023, 3:25 PM
I think I have a very old version of the Kotlin Gradle plugin but a recent version of the standard library
k
Klitos Kyriacou
09/11/2023, 3:57 PM
It could be that you're not importing
Duration.Companion.minutes
and you're using a slightly old stdlib (e.g. 1.7) and bringing in the deprecated top-level function from