Created
August 29, 2022 11:54
-
-
Save cp-hardik-p/f027579d0de498aef9ff5083e9ff9ef1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protobuf { | |
| protoc { | |
| artifact = "com.google.protobuf:protoc:3.19.4" | |
| } | |
| // Generates the java Protobuf-lite code for the Protobufs in this project. See | |
| // https://github.com/google/protobuf-gradle-plugin#customizing-protobuf-compilation | |
| // for more information. | |
| generateProtoTasks { | |
| all().each { task -> | |
| task.builtins { | |
| java { | |
| option 'lite' | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment