Skip to content
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

Investigate blockers to updating to Kotlin 2.0.0 and later #16908

Open
1 task
jack-h-wang opened this issue Dec 26, 2024 · 0 comments
Open
1 task

Investigate blockers to updating to Kotlin 2.0.0 and later #16908

jack-h-wang opened this issue Dec 26, 2024 · 0 comments
Labels
platform Platform Team tech-debt Anything that is purely a technical issue and does not affect functionality

Comments

@jack-h-wang
Copy link
Collaborator

jack-h-wang commented Dec 26, 2024

User Story

As an RS engineer, I want to remain on current and supported versions of dependencies.

Description/Use Case

RS currently runs Kotlin version 1.9.25. Attempts to update to Kotlin 2.0.0 and later result in compiler failures. There are a number of dependency updates that now require Kotlin 2.0.0 or later. We need to resolve any blockers and update to at minimum Kotlin 2.0.0 in order to update to the current version of many of our dependencies.

Risks/Impacts/Considerations

See the list of dependencies that cannot currently be updated. Note that not all failures are due to this issue; inspect the output of the Build Router step to determine which failures are due to the Kotlin version.

Dev Notes

Update systemProp.kotlinVersion in gradle.properties to a Kotlin 2.x version. Note that compileKotlin will fail due to the presence of several instances of @Suppress("NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER"). Removing these annotations allows compile to succeed, but causes some tests to fail.

See also:

Acceptance Criteria

  • Update to Kotlin 2.0.0 or later without any test failures
@jack-h-wang jack-h-wang added platform Platform Team tech-debt Anything that is purely a technical issue and does not affect functionality labels Dec 26, 2024
@jack-h-wang jack-h-wang changed the title Investigate blockers to updating to Kotlin 2.x Investigate blockers to updating to Kotlin 2.0.0 and later Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform Platform Team tech-debt Anything that is purely a technical issue and does not affect functionality
Projects
None yet
Development

No branches or pull requests

1 participant