Skip to content

Duplicate class Kotlin and Java libraries #20566

Closed
@maikelvdh

Description

@maikelvdh

What version of protobuf and what language are you using?
Version: 4.30.0
Language: Java/Kotlin

What operating system (Linux, Windows, ...) and version?

Android

What did you expect to see

No duplicated classes between protobuf-java and protobuf-kotlin as the latter is depending on the former.

What did you see instead?

Duplicate class com.google.protobuf.DescriptorProtos$1 found in modules protobuf-java-4.30.0.jar -> protobuf-java-4.30.0 (com.google.protobuf:protobuf-java:4.30.0) and protobuf-kotlin-4.30.0.jar -> protobuf-kotlin-4.30.0 (com.google.protobuf:protobuf-kotlin:4.30.0)
     Duplicate class com.google.protobuf.JavaFeaturesProto$1 found in modules protobuf-java-4.30.0.jar -> protobuf-java-4.30.0 (com.google.protobuf:protobuf-java:4.30.0) and protobuf-kotlin-4.30.0.jar -> protobuf-kotlin-4.30.0 (com.google.protobuf:protobuf-kotlin:4.30.0)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions