Hello. I only use Calendar and after adapting the config & composer.json files, running composer dumpautoload gives me :
> Google\Task\Composer::cleanup
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Error
Class "Google\Service\Gmail" not found
at vendor/tomshaw/google-api/config/config.php:54
50โ * Scopes to be requested as part of the OAuth2.0 flow.
51โ */
52โ 'service_scopes' => [
53โ Google\Service\Calendar::CALENDAR,
โ 54โ Google\Service\Gmail::GMAIL_SEND,
55โ Google\Service\Books::BOOKS,
56โ Google\Service\Drive::DRIVE,
57โ ],
58โ ];
+9 vendor frames
10 artisan:35
Illuminate\Foundation\Console\Kernel::handle()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Cleanup seems to work though and I only have Calendar files.