Skip to content

Commit

Permalink
Merge pull request #129 from passions-app/master
Browse files Browse the repository at this point in the history
Add steps to reduce the google sdk dependencies size
  • Loading branch information
Stafox authored Oct 1, 2020
2 parents 5f2706d + 5f8641c commit 4409d2b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,30 @@ try {
// success
```

#### Reduce the size of the google sdk ####
To reduce the size of the google sdk you can follow thoses steps on the [google documentation](https://github.com/googleapis/google-api-php-client#cleaning-up-unused-services)
```json
{
"scripts": {
"post-install-cmd": [
"Google_Task_Composer::cleanup"
],
"post-update-cmd": [
"Google_Task_Composer::cleanup"
]
},
"extra": {
"google/apiclient-services": [
"AndroidPublisher"
]
}
}
```
**IMPORTANT:** If you add any services back in composer.json, you will need to remove the vendor/google/apiclient-services directory explicity for the change you made to have effect:
```sh
rm -r vendor/google/apiclient-services
composer update
```

### Amazon App Store ###

Expand Down

0 comments on commit 4409d2b

Please sign in to comment.