-
Notifications
You must be signed in to change notification settings - Fork 105
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 kotlin to 1.8.10, xprocessing to 1.6.0-alpha01 #317
Conversation
@@ -107,7 +106,11 @@ abstract class BaseProcessor( | |||
} catch (e: Throwable) { | |||
// Errors thrown from within KSP can get lost, making the root cause of an issue hidden. | |||
// This helps to surface all thrown errors. | |||
messager.printMessage(Diagnostic.Kind.ERROR, e.stackTraceToString()) | |||
if (e is ShowkaseProcessorException && e.element != null) { |
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 noticed that the showkase logger in place doesn't every actually get used, so error messages haven't been logging the element. i added this to help, but it seems like there needs to be a bigger clean up
) | ||
} | ||
|
||
when (environment.backend) { |
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.
in KSP the type is now the color value class, not just Long
.kind | ||
|
||
enclosingElementKind == FILE_FACADE_KIND | ||
return kotlinMetadata == null |
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.
there is a new version of the metadata class that had breaking changes
Updates kotlin, ksp, and the xprocessing library.
Notably, the androidx.room:room-compiler-processing library (aka xprocessing) has been updated to 2.6.0-alpha01. This version is incompatible with previous versions due to a breaking API change. All annotation processors using this library must be on the same version. Other annotation processors such as Epoxy and Paris also use xprocessing and if you use them you need to use a version of them that also uses xprocessing 2.6.0-alpha01
For that reason we shouldn't merge this until all other planned work is merged and released so that it can be used without forcing updates of other libraries