Tweaks and fixes to the build.gradle file.