Gradle编译 Spring5源码

 

1.下载源码

 

git clone --branch v5.2.8.RELEASE https://gitee.com/Z201/spring-framework.git

 

 

2.修改配置(源码里面的文件)

settings.gradle 阿里云库

Gradle编译 Spring5源码

 

maven { url 'https://maven.aliyun.com/repository/public' }

 

 gradle.properties 直接替换

version=5.2.8.RELEASE
org.gradle.jvmargs=-Xmx2048M
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.daemon=true

 

 build.gradle  阿里云库

Gradle编译 Spring5源码

 

 

maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}

 

3.编译spring-oxm模块

gradlew :spring-oxm:compileTestJava

 

上一篇:CentOS8实现ntp同步


下一篇:Spring5源码导入idea