aantono / gradle-plugin-protobuf

Protobuf Plugin for Gradle has moved to
https://github.com/google/protobuf-gradle-plugin
BSD 3-Clause "New" or "Revised" License
40 stars 24 forks source link

Add support for the other built-in code generators #18

Open smeder opened 10 years ago

smeder commented 10 years ago

Currently I don't see a way to get your plugin to create sources for C++ and Python, the other two built-in languages supported by protoc (--cpp_out, --python_out). Would be great to add support for those two options (unless I am missing something and one can force it via the plugin specification).

smeder commented 10 years ago

Figured out a (the?) way to do it:

protobufCodeGenPlugins = ["cpp:${protocPath}"]

seems to work. It would be nice though to get different output directories for each language...