Skip to content

Commit b0649aa

Browse files
committed
Update to latest
Signed-off-by: Sri Krishna <[email protected]>
1 parent 883ecdb commit b0649aa

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ tasks.register<Exec>("exportProtovalidateModule") {
172172
commandLine(
173173
buf.asPath,
174174
"export",
175-
"https://github.com/bufbuild/protovalidate.git#subdir=proto/protovalidate,ref=${project.findProperty("protovalidate.version")}",
175+
"buf.build/bufbuild/protovalidate:${project.findProperty("protovalidate.version")}",
176176
"--output",
177177
"src/main/resources",
178178
)

conformance/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ tasks.register<Exec>("generateConformance") {
7070
"generate",
7171
"--template",
7272
"${layout.buildDirectory.get()}/buf-gen-templates/buf.gen.yaml",
73-
"https://github.com/bufbuild/protovalidate.git#subdir=proto/protovalidate-testing,ref=${project.findProperty(
74-
"protovalidate.version",
75-
)}",
73+
"buf.build/bufbuild/protovalidate-testing:${project.findProperty("protovalidate.version")}",
7674
)
7775
}
7876

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Version of buf.build/bufbuild/protovalidate to use.
2-
protovalidate.version = 8ed821b7c3ee9cad5d840a12ef32339af0dd2cbd
2+
protovalidate.version = v1.1.0
33

44
# Arguments to the protovalidate-conformance CLI
55
protovalidate.conformance.args = --strict_message --strict_error --expected_failures=expected-failures.yaml

src/main/resources/buf/validate/validate.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4706,7 +4706,7 @@ message FieldMaskRules {
47064706
// ```
47074707
optional google.protobuf.FieldMask const = 1 [(predefined).cel = {
47084708
id: "field_mask.const"
4709-
expression: "this != getField(rules, 'const') ? 'value must equal paths %s'.format([getField(rules, 'const').paths]) : ''"
4709+
expression: "this.paths != getField(rules, 'const').paths ? 'value must equal paths %s'.format([getField(rules, 'const').paths]) : ''"
47104710
}];
47114711

47124712
// `in` requires the field value to only contain paths matching specified

0 commit comments

Comments
 (0)