Skip to content

os72/protobuf-java-shaded-351

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3755ca8 · Feb 1, 2018

History

11 Commits
Feb 1, 2018
Jan 25, 2018
Jan 25, 2018
Jan 25, 2018
Jan 25, 2018
Jan 25, 2018
Feb 1, 2018
Feb 1, 2018
Jan 25, 2018
Jan 25, 2018

Repository files navigation

protobuf-java-shaded-351

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

Maven Central


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

See also

Usage

  • Use package dependency protobuf-java-shaded-351 instead of protobuf-java
  • Use Java namespace com.github.os72.protobuf351 instead of com.google.protobuf

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-351</artifactId>
  <version>0.9</version>
</dependency>
<dependency>
  <groupId>com.github.os72</groupId>
  <artifactId>protobuf-java-util-shaded-351</artifactId>
  <version>0.9</version>
</dependency>

About

Protocol Buffer Java API - shaded version 3.5.1

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages