Closed SUPERCILEX closed 5 years ago
@rharter Any thoughts?
Awesome, thanks!
@rharter Unfortunately, I just tested it IRL and it doesn't work. Looks like the the guava packages are being mapped to autovaluemoshi.shaded.com.google.common.collect
by the shadow jar thing, leading to the types not being recognized. Why is that being done?
@rharter Hmmm, I don't get the point of the shadow jar at all. Can it just be removed?
The good news is that it all works (runtime included) without the shadow stuff.
Wait, shadow changes the plain strings?
We can't remove it. When something else on the annotation processor classpath changes the guava version it causes problems, so we have to shade it so we can keep using our own. The solution is to configure the Shadow Gradle plugin to ignore those plain strings that are used to reference the classes.
Yup, it does. (I guess it's just a find/replace). Working on a hacky fix.
See #146
Fixes #118, closes #105