husnjak / IGDB-API-JVM

Wrapper for IGDBs API written in Kotlin should work for all JVM based languages, tested in Kotlin & Java
MIT License
37 stars 10 forks source link

Protobuff versions mismatch #9

Closed iserb closed 3 years ago

iserb commented 3 years ago

Hi there. Looks like last version has protobuf version mismatch. If you try to create simple class it will not compile showing compilation error java: cannot access com.google.protobuf.CodedInputStream class file for com.google.protobuf.CodedInputStream not found

In your build.gradle.kts file you are using implementation("com.google.protobuf:protobuf-java:3.11.0") but
artifact = "com.google.protobuf:protoc:3.13.0" and this version mismatch is causing compilation error However, if you explicitly configure maven or graddle to use protobuf-java 3.13.0 the error goes away.

Hopefully this will help to fix this error

husnjak commented 3 years ago

Fixing this in the next update!