aws-amplify / amplify-android

The fastest and easiest way to use AWS from your Android app.
https://docs.amplify.aws/lib/q/platform/android/
Apache License 2.0
249 stars 117 forks source link

chore(apollo): Fix publishing errors with apollo-appsync #2913

Closed mattcreaser closed 2 months ago

mattcreaser commented 2 months ago

Issue #, if available:

Description of changes: The signing key was only being set for Android projects, resulting in no signature generating for apollo-appsync. You need signature files to publish the artifacts to maven central. Therefore I moved the setting of the required extras outside the check for the Android plugin.

How did you test these changes? (Please add a line here how the changes were tested)

Documentation update required?

General Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.