Added some debug information to the build process:

1. Prints out all the gradle properties at the start
2. Prints out the contents of the build directory at the end