-
Notifications
You must be signed in to change notification settings - Fork 213
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
Update Kotlin to 2.0.20 #1209
base: master
Are you sure you want to change the base?
Update Kotlin to 2.0.20 #1209
Conversation
Hm. The checksum is wrong?
|
@restingbull thanks, updated the sha to the correct one. |
Hmm |
I don't know the exact change which caused this to start to fail on 2.0.20 (still looking for it), but investigating the classpath that is created for the compiler in
(I'm running Kotlin's preloader ( I don't know what those jars are, but maybe the solution would be to somehow ensure that they don't repack libraries which they depend on here. Another solution would be not to use Kotlin's preloader at all, but rather create a simple I guess I would like to know what those jars are for, and is it possible to avoid packing kotlin-stdlib inside them? Feel free to share any other opinions or suggestions. I admit I'm not very knowledgeable in this project or Bazel ecosystem altogether, so I might be missing some trivial stuff. |
That is roughly the direction I headed setting the stdlibs on the toolchain. It offers the ability to clear up correctness issues found when importing dependencies from maven (the stdlibs popup every so often.) This didn't seem clear out the issue in local testing but it removes at least one part.
To be honest, the kotlin preloader predates my involvement with the project, so I can't speak authoritatively about it. My assumption is that it was necessary -- and never challenged it, as I've had other issues to fix (like proper plugin support with arguments. That one is a doozy.)
The error seems to be triggered by the loading compiler plugins. I haven't had the time to trace it down all the way, but that is where it seems to crop up the most. |
No description provided.