Changes to build file to build using gradle.