awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

Add support for Gradle 7 projects #372

Closed baksansk closed 2 years ago

baksansk commented 2 years ago

Issue #, if available:

360

Description of changes: Gradle 7 requires a property of a task to have an annotation of input/output/internal. It fails to compile Android projects using Gradle 7 and AGP 7.

This PR adds the @Internal annotation to a private property of ApolloClassGenTask which fixes the compilation error with minimal changes.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.