mvn项目根目录下,运行
gradle init --type pom
备注:
1)确保build.gradle, settings.gradle不存在
2)gradle 3.1测试通过
3)修改build.gradle
repositories { maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } }