Home

Awesome

protobuf-java-shaded-261

Protocol Buffer Java API - shaded version 2.6.1. Available on Maven Central

Maven Central


Provides protobuf-java 2.6.1 in a separate namespace com.github.os72.protobuf261 to help resolve runtime compatibility issues when other protobuf-java versions are needed in the same application

See also

Usage

Note that the namespace replacement must be applied to code generated by the protoc compiler as well. protoc-jar (option --java_shaded_out) and protoc-jar-maven-plugin (output type java-shaded) support this feature out of the box

Maven dependency

<dependency>
  <groupId>com.github.os72</groupId>
  <artifactId>protobuf-java-shaded-261</artifactId>
  <version>0.9</version>
</dependency>