[AMC] converted maven builds to gradle