graphqlGenerateTestClient requires compileKotlin #1123
-
Hi there, I am about to migrate to the latest release (4.0.0), but I am having problems with client generation in the test scope. We are using the client within the test scope, so we are using the testImplementation "com.expediagroup:graphql-kotlin-client:$expediaGraphQL" Thus, we are getting some compile errors during
Did the project scope for the generated test clients somehow change in 4.x? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello 👋 |
Beta Was this translation helpful? Give feedback.
Hello 👋
We rewrote the Gradle plugin to use the worker API that helped isolate the classpaths. This sounds like a bug (its probably pulling both regular and test client tasks here -> https://github.com/ExpediaGroup/graphql-kotlin/blob/master/plugins/graphql-kotlin-gradle-plugin/src/main/kotlin/com/expediagroup/graphql/plugin/gradle/GraphQLGradlePlugin.kt#L140). While I'm looking into this, by any chance can you share a link to a repo that has this problem?