maven转gradle ,windows错误重定向

gradle init --type pom --stacktrace > g.log 2>&1

原文地址:https://www.cnblogs.com/xiaodebing/p/10222234.html