Plugin for delivering APK artifacts to the Amazon App Store as new Edits.
This plugin is a fork of gradle-amazon-app-store-publisher seeking to update it for Gradle 7+ and clean up the plugin such that it is easier to maintain.
- Create an Amazon Security Profile.
- Create a Security Profile json file like the following:
{ "grant_type": "client_credentials", "client_id": "amzn1.application-oa2-client.<id>", "client_secret": "<secret from web settings tab of security profile>", "scope": "appstore::apps:readwrite" }
- Add the plugin to your project
- Configure the
amazon { }
closure in your application module build script.amazon { securityProfile.set(rootProject.file("security-profile.json")) applicationId.set("amzn1.devportal.mobileapp.<id>") replaceEdit.set(false) replaceApks.set(true) useOnlyUniversalApk.set(true) }
- Run
gradlew publishToAmazonAppStore
to assemble and publish your application.