官网
https://github.com/spring-projects/spring-framework
注释掉
id 'io.spring.gradle-enterprise-conventions' version '0.0.2'
更改repositories
repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven { url 'https://repo.spring.io/plugins-release' } maven { url "https://repo.spring.io/libs-spring-framework-build" } maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' } maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'} maven { url "https://plugins.gradle.org/m2/"} }
执行spring-oxm, spring-core (参考文件:import-into-eclipse.md)
$ gradle :spring-oxm:compileTestJava
或者选中项目,点击大象图标,输入命令:
compileTestJava