Moved build to gradle.