Generate Kotlin DSL builder for protobuf messages
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 80
- Forks
- 34
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 1
Description
Motivation:
Currently, `java-rpc-proto.gradle` does not generate Kotlin DSL builder
for protobuf messages even when the project is flagged with `kotlin-grpc`.
Registering `kotlin` plugin within `generateProtoTasks` closure will make it
generate Kotlin DSL builder for protobuf mesages.
```groovy
generateProtoTasks {
if (project.ext.hasFlag('kotlin-grpc') && ...) {
kotlinGrpc {}
// Apply `kotlin` plugin to generate DSL builder.
kotlin {}
}
}
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in java-rpc-proto.gradle and inspect the generateProtoTasks closure and its existing kotlin-grpc handling. Confirm how the kotlin flag is detected and verify that Kotlin DSL builders are generated when kotlin-grpc is enabled, without changing behavior for other configurations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100