square / wire

gRPC and protocol buffers for Android, Kotlin, Swift and Java.
https://square.github.io/wire/
Apache License 2.0
4.23k stars 571 forks source link

Building Kotlin (.kt) files with wire-compiler via command line? #3051

Closed santhanamk closed 1 month ago

santhanamk commented 1 month ago

Hi:

At this link, https://square.github.io/wire/wire_compiler/ there is a sample which shows how to generate Swift files from protos:

java -jar ./Pods/WireCompiler/compiler.jar \ "--proto_path=<directory containing .proto files>" \ "--swift_out=<directory where the generated .swift files go>" \ "--experimental-module-manifest="

What would be the command to generate Kotlin files from protos? Thanks for your help.