apache/dubbo

[3.0 comipler] Support compiler with protobuf-gradle-plugin

Open

#9,836 创建于 2022年3月24日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Java (26,453 fork)batch import
help wantedtype/proposal

仓库指标

Star
 (41,524 star)
PR 合并指标
 (平均合并 7天 14小时) (30 天内合并 20 个 PR)

描述

  • I have searched the issues of this repository and believe that this is not a duplicate.

Describe the proposal

Dubbo has a maven compiler plugin for generating protos, but the protobuf-gradle-plugin does not support specifing MainClass . So Dubbo's compiler can not work with gradle. Hoping anyone can help to fix it.

Here are some candidate solutions

  • Publish multiple maven plugins with determined MainClass
  • Write a build script template for generating Dubbo proto files
  • Write a plugin like akka
  • Support MainClass in protobuf-gradle-plugin

贡献者指南