apache / apache/dubbo

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

Open
#9,836 2 comments 0 reactions 0 assignees View on GitHub
help wanted type/proposal
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

- [x] I have searched the [issues](https://github.com/apache/dubbo/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](https://github.com/google/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](https://plugins.gradle.org/plugin/com.lightbend.akka.grpc.gradle)
- Support `MainClass` in `protobuf-gradle-plugin`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.