Adding support for 'full' patches

Also, minor fixes to build.gradle