-
Notifications
You must be signed in to change notification settings - Fork 110
Make compatible with Kotlin 1.5 #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If anyone wants to try a preliminary version of |
@ilya-g Link not work. Please add link in maven repository. Or writen guide for install 0.2.0 kotlinx-datetime for kotlin 1.5. Please. |
@only-kuban The link does not work with your browser, but with Gradle. // build.gradle.kts
repositories {
maven(url = "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(KotlinTools_KotlinxDatetime_Build_All),status:success,branch:kotlin-1-5,pinned:true/artifacts/content/maven/")
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.0-dev-303")
} |
@only-kuban could you show the actual error that you're getting? Your screenshot doesn't include the error, just some debug info. |
@dkhalanskyjb yes, add screenshot |
Thanks, @only-kuban! I was able to reproduce a problem, which could be the same as what you're experiencing. I'll |
There's now a new preview version:
Example: repositories {
maven(url = "https://teamcity.jetbrains.com/guestAuth/repository/download/KotlinTools_KotlinxDatetime_Build_All/3436908:id/maven/")
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.0-dev-310")
} @only-kuban could you please check it out? |
@dkhalanskyjb after insert repo and implementation in build.gradle.kts and load gradle changes i have error in screenshot |
The version 0.2.0 compatible with Kotlin 1.5 is available in maven central. Please update your dependencies if you used test builds from teamcity, as they will be cleaned up soon. |
Thanks, it's worked! |
- Updated versions.kotlin to 1.5.20 - Changelog for 1.5.20: https://kotlinlang.org/docs/whatsnew1520.html - Changelog for 1.5.0: https://kotlinlang.org/docs/whatsnew15.html - Changelog for 1.4.30: https://kotlinlang.org/docs/whatsnew1430.html - Updated kotlinx-datetime from 0.1.1 to 0.2.1 since Kotlin 1.5.0 depends on datetime > 0.2.0 - Due to the changes to the experimental Duration inline value class; see: Kotlin/kotlinx-datetime#108 - Adjusted tests with the changes due to hardcoded values of some changes around the Kotlin JS/IR and Legacy JS apis Signed-off-by: Antal János Monori <[email protected]>
- Updated versions.kotlin to 1.5.20 - Changelog for 1.5.20: https://kotlinlang.org/docs/whatsnew1520.html - Changelog for 1.5.0: https://kotlinlang.org/docs/whatsnew15.html - Changelog for 1.4.30: https://kotlinlang.org/docs/whatsnew1430.html - Updated kotlinx-datetime from 0.1.1 to 0.2.1 since Kotlin 1.5.0 depends on datetime > 0.2.0 - Due to the changes to the experimental Duration inline value class; see: Kotlin/kotlinx-datetime#108 - Adjusted tests with the changes due to hardcoded values of some changes around the Kotlin JS/IR and Legacy JS apis Signed-off-by: Antal János Monori <[email protected]>
- Updated versions.kotlin to 1.5.20 - Changelog for 1.5.20: https://kotlinlang.org/docs/whatsnew1520.html - Changelog for 1.5.0: https://kotlinlang.org/docs/whatsnew15.html - Changelog for 1.4.30: https://kotlinlang.org/docs/whatsnew1430.html - Updated kotlinx-datetime from 0.1.1 to 0.2.1 since Kotlin 1.5.0 depends on datetime > 0.2.0 - Due to the changes to the experimental Duration inline value class; see: Kotlin/kotlinx-datetime#108 - Adjusted tests with the changes due to hardcoded values of some changes around the Kotlin JS/IR and Legacy JS apis Signed-off-by: Antal János Monori <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
The versions 0.1.0 and 0.1.1 are incompatible with Kotlin 1.5.0 due to the changes in the experimental
Duration
inline value class there, which is widely used inkotlinx-datetime
.When using these versions with Kotlin 1.5, users can observe the following stack traces:
or
The text was updated successfully, but these errors were encountered: