modify gradle script to support change version and deploy maven target dynamicly