Modifications to the Gradle build files so that this can be embedded in our project more easily.