Fix name of uploaded artifact, ensure gradle install works for SNAPSHOTS