This is a (failed :( ) attempt at reproducing an annotation processing bug we had in our too large application. The symptoms when the bug happens are:
- A package is defined by both a library module and the main app module.
- Both the library and the main app use auto value annotation processing.
- The following code gets generated:
- lib/build/generated/source/debug/
- app/build/generated/source//debug/
That is, the AutoValue_X class from the library gets generated for the application as well, leading to failure when running Proguard.