软件选择
IntelliJ IDEA 2023.3.1

gradle 版本 gradle-8.4
1.配置gradle 阿里云镜像、在gradle下载地址的init.d文件夹中新建 init.gradle
gradle
allprojects {
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/spring/'}
maven { url 'https://maven.aliyun.com/repository/google/'}
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/'}
maven { url 'https://maven.aliyun.com/repository/spring-plugin/'}
maven { url 'https://maven.aliyun.com/repository/grails-core/'}
maven { url 'https://maven.aliyun.com/repository/apache-snapshots/'}
mavenCentral()
}
}
2.将gralde配置在本地环境中

配置gradle下载文件的地址

测试gradle是否成功

3.idea配置gradle

4.下载spring源码
Spring在github上的仓库地址是:github.com/spring-proj...
5.在idea导入gradle 刷新gradle
