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

Prepare for Kotlin 2.0 #1112

Closed
2 tasks done
krzema12 opened this issue Nov 17, 2023 · 4 comments · Fixed by #1431
Closed
2 tasks done

Prepare for Kotlin 2.0 #1112

krzema12 opened this issue Nov 17, 2023 · 4 comments · Fixed by #1431
Labels
operational Operational Excellence - maintenance tasks.

Comments

@krzema12
Copy link
Member

krzema12 commented Nov 17, 2023

Try the EAP release and see if there are any issues.

@krzema12 krzema12 added the operational Operational Excellence - maintenance tasks. label Nov 17, 2023
@krzema12 krzema12 self-assigned this Nov 18, 2023
@krzema12
Copy link
Member Author

krzema12 commented Nov 19, 2023

Downloaded https://github.com/JetBrains/kotlin/releases/download/v2.0.0-Beta1/kotlin-compiler-2.0.0-Beta1.zip and tested this way:

% ~/Downloads/kotlinc/bin/kotlin .github/workflows/build.main.kts
.github/workflows/build.main.kts:2:1: warning: file 'io.github.typesafegithub:github-workflows-kt:1.5.0' not found
.github/workflows/_shared.main.kts:2:1: warning: file 'io.github.typesafegithub:github-workflows-kt:1.5.0' not found
.github/workflows/setup-java.main.kts:2:1: warning: file 'io.github.typesafegithub:github-workflows-kt:1.5.0' not found
.github/workflows/setup-python.main.kts:2:1: warning: file 'io.github.typesafegithub:github-workflows-kt:1.5.0' not found

Despite this warning, the script worked fine.

Reported as https://youtrack.jetbrains.com/issue/KT-63584/.

@krzema12
Copy link
Member Author

krzema12 commented Nov 19, 2023

Testing in Gradle at https://github.com/typesafegithub/github-workflows-kt/tree/kotlin-2.0

One test fails probably because the lib for testing compilation needs to be compatible with Kotlin 2.0.

@krzema12
Copy link
Member Author

Leaving this open until the library is released with 2.0.

@krzema12 krzema12 removed their assignment Nov 19, 2023
@krzema12 krzema12 added this to the 2.0 (breaking changes) milestone May 4, 2024
@krzema12 krzema12 linked a pull request May 7, 2024 that will close this issue
krzema12 added a commit that referenced this issue May 9, 2024
@krzema12 krzema12 reopened this May 9, 2024
@krzema12
Copy link
Member Author

krzema12 commented May 9, 2024

Leaving open to remember to update from RC to stable version, both for Kotlin and for the compiler testing library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operational Operational Excellence - maintenance tasks.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant