husnjak / IGDB-API-JVM

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

Wrapper incompatible with Android #2

Closed husnjak closed 5 years ago

husnjak commented 5 years ago

There is an issue when adding the wrapper to an Android project as an dependency where we are met with the error:

> Annotation processors must be explicitly declared now.  The following dependencies on the compile classpath are found to contain annotation processor.  Please add them to the annotationProcessor configuration.
    - org.eclipse.sisu.inject-0.0.0.M5.jar (org.eclipse.sisu:org.eclipse.sisu.inject:0.0.0.M5)
  Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior.  Note that this option is deprecated and will be removed in the future.
  See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.

Debugging the issue leads to Googles Protocol buffers which are used to build the generated classes for the API.

Solutions

abalta commented 5 years ago

I need this wrapper for my android project.

husnjak commented 5 years ago

Should work now with version 0.7

abalta commented 5 years ago

Thank you, how can I log network request.