-
Notifications
You must be signed in to change notification settings - Fork 82
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
Switch to codegen.kt #965
base: main
Are you sure you want to change the base?
Switch to codegen.kt #965
Conversation
I think codegen kt doesn't run on jdk 8 |
@@ -1,16 +1,24 @@ | |||
@file:OptIn(ExperimentalContracts::class, DelicateKotlinPoetApi::class) |
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.
i don't like the opt-ins here, why not keep the old approach of using strings?
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.
Because this one is actually type-safe and I like it
the build failure looks more like a dependency resolution issue |
Yeah because codegen.kt defines a jdk dependency in the Gradle meta |
Since the CI now uses Java 21, this should work again |
# Conflicts: # gradle/libs.versions.toml # ksp-processors/build.gradle.kts # ksp-processors/src/main/kotlin/KSPUtils.kt # ksp-processors/src/main/kotlin/generation/GenerationProcessor.kt # ksp-processors/src/main/kotlin/generation/bitflags/Builder.kt # ksp-processors/src/main/kotlin/generation/bitflags/ContainsPlusMinusCopy.kt # ksp-processors/src/main/kotlin/generation/bitflags/Serializer.kt # ksp-processors/src/main/kotlin/generation/kordenum/KordEnumGeneration.kt # ksp-processors/src/main/kotlin/generation/shared/EqualsHashCodeToString.kt # ksp-processors/src/main/kotlin/generation/shared/SharedContent.kt
No description provided.