Project Properties > Build Events > Post-build event.
It is often recommended to only run this during "Release" builds to avoid slowing down your daily debugging sessions. 2. Using Webpack (For Web Projects) BYJEE.zip
zip zipFile: 'BYJEE.zip', dir: 'build/outputs/' 4. Manual Method Project Properties > Build Events > Post-build event