From a18b58dc1dc33d7fa20f906132c3e6700a120870 Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Wed, 27 Aug 2025 15:12:54 -0600 Subject: [PATCH] Add protovalidate proto to build step --- build.gradle | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 6576d109..674a2ba4 100644 --- a/build.gradle +++ b/build.gradle @@ -105,20 +105,8 @@ dependencies { compileOnly "org.apache.tomcat:annotations-api:6.0.53" } -task validateProtos(type: Exec) { - mkdir bufDir - commandLine("buf", "export", "--exclude-imports", "buf.build/envoyproxy/protoc-gen-validate", "-o", bufDir) -} - -task gatewayProtos(type: Exec) { - mkdir bufDir - commandLine("buf", "export", "--exclude-imports", "buf.build/grpc-ecosystem/grpc-gateway", "-o", bufDir) -} - task authzedProtos(type: Exec) { - dependsOn validateProtos - dependsOn gatewayProtos - commandLine("buf", "export", "--exclude-imports", "buf.build/authzed/api:${authzedProtoCommit}", "-o", bufDir) + commandLine("buf", "export", "buf.build/authzed/api:${authzedProtoCommit}", "-o", bufDir) } protobuf {