Meg Cahill

10/08/2021, 4:22 PM
hello! I've been developing with the alpha3 version of graphql-kotlin. For various reasons I am stuck using java 8, and it's a project that isn't fully migrated to kotlin. When I try to pull 5.0.0, I get an error related to the target version of java. Is java 8 not supported with this release? Or is there maybe some setting I may be missing? Thanks!
`Variant 'apiElements' capability com.expediagroup:graphql-kotlin-ktor-client:5.0.0 declares an API of a library, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
                 - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8

Dariusz Kuc

10/08/2021, 4:37 PM
hello 👋 thanks for raising this - it appears that Gradle populates metadata targeting JVM 11 vs our target compilation of java 8
can you create an issue/bug on the project so we can track it?

Meg Cahill

10/08/2021, 5:41 PM
Sure thing! Thank you 🙂