start porting the build to gradle