01.spring源码下载以及构建
-
下载代码
https://gitee.com/lizuzhao/spring-framework.git
这是我同步GitHub的,会定期同步 -
下载gradle构建工具,spring是它构建的
https://downloads.gradle-dn.com/distributions/gradle-6.5.1-all.zip
-
idea配置好gradle
-
修改build.gradle,防止找不到包和插件,然后构建一下
repositories {
mavenCentral()
maven { url "https://maven.aliyun.com/repository/public"}
maven { url "https://maven.aliyun.com/repository/spring-plugin"}
maven { url "https://repo.spring.io/libs-spring-framework-build" }
maven { url "https://repo.spring.io/snapshot" } // Reactor
}