Apply gradle build