Bradleycorn
10/03/2025, 2:57 PM0.7.1 of the datetime library, and I'm getting an error. I have read the docs about the Dreprecation of `Instant`, so I'm familiar with updates that need to happen there.
I'm using Clock and have updated to import kotlin.time.Clock. But I get an error (in the IDE and at compile):
> This declaration is only available in Kotlin 2.1 and newer versions and cannot be used with the specified API version 2.0.
Bradleycorn
10/03/2025, 3:52 PMcompilerOptions {
apiVersion.set(KotlinVersion.KOTLIN_2_0)
}
🤦Bradleycorn
10/03/2025, 3:54 PM