Closed erikkerber closed 5 months ago
This should be resolved by https://github.com/bazelbuild/rules_kotlin/pull/1139. Let me know if it doesn't.
It does not unfortunately. This jarjar rule on top of that change still does fix the build on our side though.
Linking https://github.com/bazelbuild/rules_kotlin/issues/1138 since the primary issue I was running into was that Dagger is picking up the Guava classes packed with KotlinCompiler.jar
I'm somewhat inclined to suggest you shade the KSP plugin that uses Guava, tbh.
I suspect the correct answer is that everyone shades guava.
We have a KSP plugin locally that uses Guava, and would conflict at class load time.
I'm not 100% sure if this rule is the best rule, but experimentally
com.google.common.base.*
andcom.google.*
both broke other parts of the build process.