apollographql / apollo-kotlin

:rocket:  A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
https://www.apollographql.com/docs/kotlin
MIT License
3.74k stars 653 forks source link

📦 Support maven-compatible publication #4020

Open martinbonnin opened 2 years ago

martinbonnin commented 2 years ago

For maven consumers or kotlin scripts, that do not understand Gradle metadata format, support a fallback mode like kotlinx-serialization for an example so that

"com.apollographql.apollo3:apollo-runtime:$version"

works like

"com.apollographql.apollo3:apollo-runtime-jvm:$version"
enriquedacostacambio commented 2 years ago

are there any plans for this?

martinbonnin commented 2 years ago

Hi @enriquedacostacambio . There are definitely plans albeit low priority given that you should be able to workaround the issue by appending -jvm to the module name:

com.apollographql.apollo3:apollo-runtime-jvm:$version

We'd welcome a contribution if you feel like it.