Update build.gradle and .gitignore
Fix crash when using an empty pouch