Protocol Buffers
Dependency :
compile ":protobuf:0.2"
Summary
Installation
grails install-plugin protobuf
Description
Description
Provides integration with Google Protocol Buffers – a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, and more.Usage
This plugin requires you to have a valid protoc compiler installed. Follow the installation instructions laid out in the java tutorial. Once installed you must instruct the build where to locate the protoc executable. Create a file named BuildConfig.groovy (if it doesn't exist) at grails-app/conf with the following contentgoogle.protobuf.protoc = "/usr/local/bin/protoc" // change this path to your own path
Scripts
- protoc - compiles protobuf sources (.proto) then compiles the generated java sources.
History
| Version | Date | Notes |
|---|---|---|
| 0.2 | 02-02-10 | Fix automatic compilation of .proto sources |
| 0.1 | 11-18-09 | Initial release |