Olga Borzenkova

Results 9 comments of Olga Borzenkova

@loonydev Hi! Are you still planning to make a PR with this changes?

This issue is still actual: #### Version information IdeaCommunity: 2024.1.1 Platform: Mac OS X 12.7.3 Bazel for IntelliJ plugin: 2024.06.04.0.2-api-version-241 Bazel: 7.2.0

Oh so this is just my misunderstanding. I thought I just will not work. Yes, I have java + scala repo and generating both scala / java classes from proto....

It looks like protobuf v3.22.0 introduces incompatible change in `DescriptorProtos.FieldOptions.Builder setExtension` method: now it is [inherited](https://www.javadoc.io/doc/com.google.protobuf/protobuf-java/3.22.0/com/google/protobuf/DescriptorProtos.FieldOptions.Builder.html) from `com.google.protobuf.GeneratedMessageV3.ExtendableBuilder` In 3.19.6 it was presented in [DescriptorProtos.FieldOptions.Builder](https://www.javadoc.io/doc/com.google.protobuf/protobuf-java/3.19.6/com/google/protobuf/DescriptorProtos.FieldOptions.Builder.html#setExtension-com.google.protobuf.GeneratedMessage.GeneratedExtension-int-Type-) itself I tried to compile...

sure, here it is https://github.com/kusaeva/scalapb-protobuf-22.5 Running `sbt compile` fails with protobuf 3.22.5 but works with 3.21.7

I used dependencyOverrides just for example. My real project built with bazel, where I have to use certain protobuf version (22.5). And I get the same error

Sorry for late reply, I've added bazel build to the same repro repository: https://github.com/kusaeva/scalapb-protobuf-22.5 To see the error run: `bazel build //:all`

is there any way now to use java_plugins with scala_library?

Hey, @tpasternak! I propose such UI change when building one of the shards was failed: Commit with changes https://github.com/bazelbuild/intellij/commit/35f8ec198c25c5abe97a2eea9ab002ca3524942b If it is ok for you, I will publish PR