converted to gradle build so that we can deploy to our repo using the same code