Fixing Gradle build files