我们直接使用Spring解压目录里面Gradle Wrapper来进行安装,部署, ==不需要我们在本机上配置gradle环境==
repositories { maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven{ url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'} }
repositories { maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/'} maven{ url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'} mavenCentral() maven { url "https://repo.spring.io/libs-spring-framework-build" } }
cmd下是: gradlew.bat :spring-oxm:compileTestJava powershell下是: ./gradlew.bat :spring-oxm:compileTestJava
参考文档: https://www.imooc.com/article...