-
Notifications
You must be signed in to change notification settings - Fork 357
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 to Kotlin 1.8 #1822
update to Kotlin 1.8 #1822
Conversation
Update Kotlin version to 1.8.22
} | ||
implementation(libs.ktor.client.content) | ||
implementation(libs.slf4j) | ||
testImplementation(projects.graphqlKotlinClientJackson) | ||
testImplementation(projects.graphqlKotlinClientSerialization) | ||
testImplementation(libs.wiremock.jre8) | ||
testImplementation(libs.compile.testing) | ||
testImplementation(libs.compile.testing) { | ||
// there is no kotlin compile testing release supporting kotlin 1.8.22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a workaround that should be removed once compatible version is available. Currently there is no release of kotlin-compile-testing
that is compatible with kotlin version 1.8.22 :(
- kotlin 1.8 compatible version is broken for compiler plugins (which we use) due to missing argument
- we need version compatible with kotlin 1.8.20+ that includes a fix for a reflection bug
- kotlin 1.9 compatible version fixes above issues .... but
kotlin-serialization
JARs are no longer published with shaded dependencies and we can no longer resolve theSerializationComponentRegistrar
Since there were no breaking API changes in the compile-testing library between the 1.8.22 and 1.9.0 versions, the simplest workaround for now is to explicitly exclude transitive compiler dependencies and explicitly include compatible versions.
Large number of changed files is due to |
Note: we need to use Kotlin 1.8.20+ due to https://youtrack.jetbrains.com/issue/KT-53279 |
📝 Description
Update Kotlin version to 1.8.22
🔗 Related Issues