fix gradle deprecation warnings