-
Notifications
You must be signed in to change notification settings - Fork 503
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
Kotlin 1.4.0 Compatibility #830
Comments
Same...updated to latest detekt/ktlint and have same issue:
|
Indeed, we need to release a new version compiled against 1.4. In the meantime, you can try kotlin-dev snapshot, that is built with 1.4-rc and the exception you get should already be gone. |
would you consider publishing a non-snapshot alpha/etc version that developers could use? Not sure what your time frame looks like |
yeah, we were even considering releasing a stable version as the changelog is looking pretty packed already for the next version, but I am relying on @shashachu here as she's the one who makes releases usually |
@romtsn You mentioned the latest snapshot build, but which one exactly? I tried |
Hi all, we're looking into this right now. It minimum we'll look to publish a snapshot build with the 1.4.0 release ASAP, but we'll aim to do a full release with 1.4.0 as soon as possible after. |
Thanks @shashachu. Would you consider making it a published |
I agree with Zac. Snapshot builds also use a different repository and it many codebases it's excluded. There's no downside for pushing an alpha version. Either way, it's very much appreciated. |
Hi all, I've uploaded the Alpha01 executable jar here https://github.com/pinterest/ktlint/releases/tag/0.38.0-alpha01 but I'm having a fight with Sonatype so still working on getting the artifacts uploaded. |
Thank you! |
Ok artifacts should be uploaded. Gotta put the kiddos to bed but let me know if this is enough to unblock you all. |
Thank you. This version definitely compiles, but comes with its own challenges. I filed a separate issue: #836 |
Sorry for miscommunication @vRallev, I thought publishing snapshots with latest Kotlin version already works, but apparently it's not |
Worked for us. Thanks again for the quick turnaround on this! |
Wow. Amazing work. 👏 |
I tried updating https://github.com/jeremymailen/kotlinter-gradle/blob/master/buildSrc/src/main/kotlin/Versions.kt accordingly to the alpha release (and kotlin 1.4.0) but I keep getting the following exception in its unit tests (and one of my projects):
|
@jonasbark I've seen that error come up only when running 1.4-compiled kotlin bytecode in a 1.3 environment |
Thanks for the alpha....'fraid it wasn't enough for us though...now we get this in a bunch of random places:
Purely from a debugging perspective, it might help your debugging if you can dump out the line or region of our code that you get crashes in though I'm not sure it's possible. |
Hi guys, I am also waiting for ktlint to support Kotlin 1.4.0. |
Is there any chance to get another alpha build? |
soon should be |
I just upgraded to Kotlin 1.4.0 from 1.3.72 and I get the following error
I changed nothing else besides the kotlin version in my project. I'm using Detekt v1.11.0
Your Environment
The text was updated successfully, but these errors were encountered: