文章目录
一、简介
导入Spring 5.1.9的源码,JDK的版本1.8
二、下载Spring源码
2.1 方法一
(1)下载并安装GIt,下载地址:https://git-scm.com/download/win
(2)配置用户名和邮箱;
(3)使用git命令下载Spring源码:
git clone https://github.com/spring-projects/spring-framework.git
2.2 方法二
直接从gitHub上下载一个压缩包,自行选择版本,选择5.1.9.Release版本。地址:https://github.com/spring-projects/spring-framework/tree/v5.1.9.RELEASE
三、下载Gradle
下载地址:http://services.gradle.org/distributions/
四、配置环境变量:
GRADLE_HOME 的值为gradle的根目录;