Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS appsync doesn't build with agp version 8.0 #410

Closed
sharadsmhaske opened this issue Apr 10, 2023 · 5 comments
Closed

AWS appsync doesn't build with agp version 8.0 #410

sharadsmhaske opened this issue Apr 10, 2023 · 5 comments
Assignees
Labels
pending-release Code has been merged but pending release

Comments

@sharadsmhaske
Copy link

Describe the bug
We are not able to upgrade the agp version in our app as app sync doesn't build with agp 8.0

To Reproduce
Steps to reproduce the behavior:
Update the version of app with agp 8.0.
Try building the app with app sync latest version.
We are getting below error :
A problem occurred configuring project ':app'.

Could not create task ':app:generateProdDebugApolloClasses'.
Cannot use @TaskAction annotation on method ApolloClassGenTask.generateClasses() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.

Expected behavior
It should build the code. Please let us know workaround if available to support agp 8.0

@davidhartley
Copy link

+1 Also receiving this error if attempting to use Android Gradle Plugin 8.0

@mattcreaser mattcreaser added the investigating This issue is being investigated label Apr 20, 2023
@mattcreaser mattcreaser self-assigned this Apr 20, 2023
@mattcreaser
Copy link
Contributor

Thanks for the report @sharadsmhaske, we will take a look.

@mattcreaser mattcreaser added pending-release Code has been merged but pending release and removed investigating This issue is being investigated labels May 1, 2023
@lolucosmin
Copy link

+1 Also receiving this error if attempting to use Android Gradle Plugin 8.0

@mattcreaser
Copy link
Contributor

A fix has been released in Appsync SDK 3.4.0. Please let us know if you have any additional questions.

@fcoconstante
Copy link

It worked, in agp version 8.1.0 and appsync-gradle-plugin:3.4.0, the docs, here says:

classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:3.2.1'

implementation 'com.amazonaws:aws-android-sdk-appsync:3.3.1'

I guess that they need to be updated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-release Code has been merged but pending release
Projects
None yet
Development

No branches or pull requests

5 participants