fixed archive upload to use gradle