changing to gradle  build