converted to gradle build process