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

貢獻者指南