The `kotlinx-datetime` library, the api is very si...
# multiplatform
u
The
kotlinx-datetime
library, the api is very similar to
java.time
. Are they somehow related? Do I need to worry about desugaring on Android? (java.time needs to be desugared via gradle config on android)
m
The JVM implementation uses the
java.time
library, so it has the same desugaring requirements.
u
so
Copy code
dependencies {
    // For AGP 7.4+
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
in side
androidMain { .. }
?
now that I think about it .. is that only necessary at app level? (not every kmp module?)