summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorJames Simon <jamsimox@amazon.com>2023-03-05 22:34:50 -0500
committerJames Simon <jamsimox@amazon.com>2023-03-05 22:34:50 -0500
commita2a266caea25dd82eb995449ff34099d8fd487b7 (patch)
treed716c0e6af4cbf4459b19843866acb8ab8b8905e /build.gradle
parent58ff36093cb20fc7d3454a423975fe1479538372 (diff)
parent4167b134485cabd6a9e19564baa130146183cfb8 (diff)
Resolve merge conflicts 1
Signed-off-by: James Simon <jamsimox@amazon.com> Change-Id: I414d87b42e6a1182f7ad439a28284efde2c607e0
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle32
1 files changed, 31 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 35a2d79..cb383ac 100644
--- a/build.gradle
+++ b/build.gradle
@@ -68,4 +68,34 @@ protobuf {
}
}
}
- } \ No newline at end of file
+ }
+ protoc {
+ artifact = 'com.google.protobuf:protoc:3.22.0'
+ }
+ plugins {
+ grpc {
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.53.0'
+ }
+ doc {
+ artifact = "io.github.pseudomuto:protoc-gen-doc:1.5.1"
+ }
+ }
+ generateProtoTasks {
+ processResources() {
+ duplicatesStrategy = 'EXCLUDE'
+}
+ all().each { task ->
+ task.builtins {
+ java {}
+ cpp {}
+ }
+ task.plugins{
+ // grpc {}
+ doc {
+ //option 'html, index.html'
+ option 'markdown, v2c.md'
+ }
+ }
+ }
+ }
+ \ No newline at end of file