File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,12 @@ proto_library(
170170 name = "java_features_proto" ,
171171 srcs = ["src/main/java/com/google/protobuf/java_features.proto" ],
172172 strip_import_prefix = "/java/core/src/main/java/com" ,
173- visibility = ["//pkg:__pkg__" ],
173+ visibility = [
174+ "//java/kotlin:__pkg__" ,
175+ "//java/kotlin-lite:__pkg__" ,
176+ "//java/lite:__pkg__" ,
177+ "//pkg:__pkg__" ,
178+ ],
174179 deps = ["//:descriptor_proto" ],
175180)
176181
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ kt_jvm_export(
6060 pom_template = "//java/kotlin:pom_template.xml" ,
6161 resources = [
6262 "//:well_known_type_protos" ,
63+ "//java/core:java_features_proto" ,
6364 "//src/google/protobuf:descriptor_proto_srcs" ,
6465 ],
6566 tags = ["manual" ],
@@ -319,6 +320,7 @@ internal_gen_kt_protos(
319320 "//:timestamp_proto" ,
320321 "//:type_proto" ,
321322 "//:wrappers_proto" ,
323+ "//java/core:java_features_proto" ,
322324 ],
323325)
324326
Original file line number Diff line number Diff line change 44 <exec executable =" ${protoc}" >
55 <arg value =" --kotlin_out=${generated.sources.dir}" />
66 <arg value =" --proto_path=${protobuf.source.dir}" />
7+ <arg value =" --proto_path=${protobuf.java_source.dir}" />
8+ <arg value =" ${protobuf.java_source.dir}/main/java/com/google/protobuf/java_features.proto" />
79 <arg value =" ${protobuf.source.dir}/google/protobuf/any.proto" />
810 <arg value =" ${protobuf.source.dir}/google/protobuf/api.proto" />
911 <arg value =" ${protobuf.source.dir}/google/protobuf/descriptor.proto" />
You can’t perform that action at this time.
0 commit comments