MENU

Fun & Interesting

Protocol Buffers with Java & Gradle

Max Mautner 22,264 lượt xem 4 years ago
Video Not Working? Fix It Now

A simple demo/tutorial about how to convert a protobuf definition to a Java class using the command line tool & the protobuf Gradle plugin.

Lastly, demoing how to use the outputted auto-generated Java class in your code

Links
~~~~~
https://github.com/protocolbuffers/protobuf
https://github.com/protocolbuffers/protobuf/tree/master/java#gradle
https://github.com/google/protobuf-gradle-plugin
https://github.com/google/protobuf-gradle-plugin#change-where-files-are-generated

Comment