Sorry for the vague question Did anyone had luck ...
# apollo-kotlin
p
Sorry for the vague question Did anyone had luck with using Gradle 9 for their projects when using apollo 3.8.6 libraries? I'm getting the following error when trying with 3.8.6 version
Copy code
An exception occurred applying plugin request [id: 'com.apollographql.apollo3', version: '3.8.6']
> Failed to apply plugin 'com.apollographql.apollo3'.
   > Could not create an instance of type com.apollographql.apollo3.gradle.internal.DefaultApolloExtension.
      > Method call not allowed
          Calling configuration method 'attributes(Action)' is not allowed for configuration 'apolloUsedCoordinates', which has permitted usage(s):
          	Declarable - this configuration can have dependencies added to it
          This method is only meant to be called on configurations which allow the (non-deprecated) usage(s): 'Consumable, Resolvable'.
The same gets compiled when on apollo4 version. So, can i assume that gradle 9 doesn't work with apollo 3.8.6 version or there are any workarounds for this?
m
You'll need to update to Apollo 4.
🙌 1
gratitude thank you 1