Remove gradle deprecation warning
Only upload snapshots from CI