Skip to content

Reduce the size of compiler-protoc-plugin #5

@alexander-yevsyukov

Description

@alexander-yevsyukov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions