apache/dubbo

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

Aberta

#9.836 aberto em 24 de mar. de 2022

 (2 comentários) (0 reação) (0 responsável)Java (26.453 forks)batch import
help wantedtype/proposal

Métricas do repositório

Stars
 (41.524 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

  • 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

Guia do colaborador