For the old v1 plugin I can do something like this in my Gradle plugin:
pluginManager.apply(ApolloPlugin::class.java)
extensions.getByType<ApolloExtension>().apply {
useJavaBeansSemanticNaming.set(true)
// etc...
}
But for the v3 plugin, I can’t access com.apollographql.apollo3.gradle.api.ApolloExtension
. I don’t see it marked as internal, but extensions.getByType<com.apollographql.apollo3.gradle.api.ApolloExtension>()
won’t compile.
Is there any way to programmatically configure the v3 plugin?