File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ proto_library(
175
175
srcs = ["src/main/java/com/google/protobuf/java_features.proto" ],
176
176
strip_import_prefix = "/java/core/src/main/java/com" ,
177
177
visibility = [
178
+ "//java/kotlin:__pkg__" ,
178
179
"//java/kotlin-lite:__pkg__" ,
179
180
"//java/lite:__pkg__" ,
180
181
"//pkg:__pkg__" ,
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ kt_jvm_export(
60
60
pom_template = "//java/kotlin:pom_template.xml" ,
61
61
resources = [
62
62
"//:well_known_type_protos" ,
63
+ "//java/core:java_features_proto" ,
63
64
"//src/google/protobuf:descriptor_proto_srcs" ,
64
65
],
65
66
tags = ["manual" ],
@@ -319,6 +320,7 @@ internal_gen_kt_protos(
319
320
"//:timestamp_proto" ,
320
321
"//:type_proto" ,
321
322
"//:wrappers_proto" ,
323
+ "//java/core:java_features_proto" ,
322
324
],
323
325
)
324
326
Original file line number Diff line number Diff line change 4
4
<exec executable =" ${protoc}" >
5
5
<arg value =" --kotlin_out=${generated.sources.dir}" />
6
6
<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" />
7
9
<arg value =" ${protobuf.source.dir}/google/protobuf/any.proto" />
8
10
<arg value =" ${protobuf.source.dir}/google/protobuf/api.proto" />
9
11
<arg value =" ${protobuf.source.dir}/google/protobuf/descriptor.proto" />
You can’t perform that action at this time.
0 commit comments