Gradle 5.6.4 Spring Framework 5.2.7.RELEASE Idea: 2020.2 Windows 10家庭
Spring官方:https://github.com/spring-projects/spring-framework Gradle:https://gradle.org/releases/ gitee地址:https://gitee.com/wangxuwen/spring-framework 注:github下载慢的,可尝试备份地址(他人提供,感谢)
为了解Spring Framework源码,故下载尝试。
切换到5.2.7.RELEASE版本。
在根目录下,以此执行 ./gradlew :spring-oxm:compileTestJava ./gradlew :spring-core:compileTestJava 根据官方文档,执行导入 https://github.com/spring-projects/spring-framework/blob/master/import-into-idea.md在spring-framework的master下,其要求的gradle版本是6.5,尝试多次都build失败。查询百度,bing,stackflow没有找到具体问题,故降级版本到5.2.7,根据该版本的gradle要求,提供5.6.4。 在第6步执行的两次build成功。
https://github.com/spring-projects/spring-framework 指导如何导入Idea:https://github.com/spring-projects/spring-framework/blob/master/import-into-idea.md https://gitee.com/wangxuwen/spring-framework https://zhuanlan.zhihu.com/p/113739286 https://gradle.org/releases/ https://www.cnblogs.com/garfieldcgf/p/12591157.html https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings https://www.cnblogs.com/pansidong/p/11331457.html 阿里云新仓库地址:https://maven.aliyun.com/mvn/guide
感谢他人分享知识和开源项目。
