update gradle script to deploy