Skip to content

0.6.1 has been released

Compare
Choose a tag to compare
@zhangkun83 zhangkun83 released this 30 Jul 21:06
· 332 commits to master since this release

0.6.1 is a minor feature release. It has better dependency support and supports a new protoc option.

  1. Import protos from dependencies without recompiling them (Resolves #15).
    • If a project compiles proto files, they are packaged as resources in
      the compiled jar along with the class files. protobuf-java artifacts
      have already been including proto definitions for built-in types such
      as Any. This is only done for Java. There is a TODO for Android.
    • proto files from dependencies are extracted into a temporary
      directory, which is added to the --proto_path argument of the protoc
      command line, so that they can be imported in the proto files of this
      project, but won't be compiled again.
  2. The protobuf dependencies now works for Android projects too.
  3. Added an option generateDescriptorSet to GenerateProtoTask to support --descriptor_set_out

(0.6.0 should be skipped as it contains an issue which was fixed in 0.6.1).