tschuchortdev / kotlin-compile-testing

A library for testing Kotlin and Java annotation processors, compiler plugins and code generation
Mozilla Public License 2.0
661 stars 63 forks source link

Support Kotlin 1.9.10 #394

Closed 3flex closed 8 months ago

3flex commented 1 year ago

Note - I have no plans to update this for Kotlin 1.9.20, see https://github.com/tschuchortdev/kotlin-compile-testing/pull/394#issuecomment-1788188847.


@BoD I hope you don't mind but I've forked your PR #388 as I've also spent time trying to upgrade to a more recent Kotlin version and looking into the failures. The missing piece is the last commit https://github.com/tschuchortdev/kotlin-compile-testing/pull/394/commits/796903816e7034759c87376b1e52acf3fa697d0a. I also rebased on #380 as that's where some of the initial changes came from.

3flex commented 1 year ago

@tschuchortdev please take a look and let me know if anything's missing, I'll be happy to update.

Including klibs from the classpath is the biggest change required to support Kotlin/JS in newer releases.

BoD commented 1 year ago

I hope you don't mind but I've forked your PR

Not at all. This is great! And hope this can be merged/released 👍

3flex commented 11 months ago

1.9.20 is in process of being released, and I spent more time updating this PR to be compatible, but ran into a couple of issues.

I found this fork, which I plan to switch to, as it's already updated to Kotlin 1.9.20: https://github.com/ZacSweers/kotlin-compile-testing. The declared goal of the fork is to keep up to date with new Kotlin releases and Zac as some will know is a very active developer who already maintains a number of smaller Kotlin-related projects, so I have faith that the fork will continue to be maintained.

I'll leave this open in case it's merged but I have no plans to update it for 1.9.20.