The plugin merely stores the instance of CodeGeneratorRequest to where it's told. Now the JAR takes 11+ Mb.
We can strip most of this size, assuming the limited functionality.
One of the tools is the ProGuard successor from Google called R8. This article describes it.