Environment: jdk1.8 above
1. Download: https: //github.com/spring-projects/spring-framework/archive/v5.0.2.RELEASE.zip
2. gradle Download: (spring5 official recommended download gradle4.0)
https://gradle.org/releases/
https://downloads.gradle-dn.com/distributions/gradle-4.0.2-bin.zip
3. Configure environment variables (here is my configuration mac)
cd ~
vi .bash_profile
export GRADLE_HOME=/Users/yintingting/Documents/gradle-4.0.2
export PATH=/usr/local/Cellar/mongodb/4.0.3_1/bin:$RABBIT_HOME/sbin:$MAVEN_HOME/bin:$GRADLE_HOME/bin:$PATH
Validation: the terminal input gradle -v
4. Compile Source
cd /Users/yintingting/Downloads/spring-framework-5.0.2.RELEASE
gradle (when executing this command, be sure to networking )
5. Open the spring-framework-5.0.2.RELEASE with IDEA,
Then start the automatic download jar package, my network is slow, it took nearly half an hour fast ~~~~~ possible ten minutes on it.