Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The PR upgrades the project's Kotlin version to 1.9.21 - the latest as of this change.
This change is heavily based off, #1075 , which seems to have been abandoned by the author. That PR had comments about some changes that seemed desirable, but I did not quite follow them. I am more than happy to push any additional changes, or to open the source branch to additional contributors upon request.
Most of the change comes from migrating from https://github.com/tschuchortdev/kotlin-compile-testing to https://github.com/ZacSweers/kotlin-compile-testing, as the former does not have an updated version for Kotlin 1.9.21. In the new dependency,
Result
was renamedCompilationResult
and marked@ExperimentalCompilerApi
.Beyond that, various
@OptIn(ObsoleteDescriptorBasedAPI::class)
usages were added due to changes pulled in by Kotlin 1.9.21.