Skip to content

Commit a18b58d

Browse files
committed
Add protovalidate proto to build step
1 parent ed190f4 commit a18b58d

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

build.gradle

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,20 +105,8 @@ dependencies {
105105
compileOnly "org.apache.tomcat:annotations-api:6.0.53"
106106
}
107107

108-
task validateProtos(type: Exec) {
109-
mkdir bufDir
110-
commandLine("buf", "export", "--exclude-imports", "buf.build/envoyproxy/protoc-gen-validate", "-o", bufDir)
111-
}
112-
113-
task gatewayProtos(type: Exec) {
114-
mkdir bufDir
115-
commandLine("buf", "export", "--exclude-imports", "buf.build/grpc-ecosystem/grpc-gateway", "-o", bufDir)
116-
}
117-
118108
task authzedProtos(type: Exec) {
119-
dependsOn validateProtos
120-
dependsOn gatewayProtos
121-
commandLine("buf", "export", "--exclude-imports", "buf.build/authzed/api:${authzedProtoCommit}", "-o", bufDir)
109+
commandLine("buf", "export", "buf.build/authzed/api:${authzedProtoCommit}", "-o", bufDir)
122110
}
123111

124112
protobuf {

0 commit comments

Comments
 (0)