1.下载gradle,并配置环境变量
gradle下载地址:http://services.gradle.org/distributions/
配置完成后可以通过gradle -v进行查看是否配置成功
2.clone spring-framework代码到本地
`git clone [email protected]:spring-projects/spring-framework.git`
3.按照import-into-idea.md的说明按步骤进行安装
1) Precompile `spring-oxm` with `./gradlew cleanIdea :spring-oxm:compileTestJava`
在源码根目录下执行gradlew cleanIdea :spring-oxm:compileTestJava命令,将进行下载依赖
2)Import into IntelliJ (File -> New -> Project from Existing Sources -> Navigate to directory -> Select build.gradle)
3)When prompted exclude the `spring-aspects` module (or after the import via File-> Project Structure -> Modules)
4)Code away