提交 376e5b6b 编写于 作者: R Rossen Stoyanchev

README + CONTRIBUTING refer to Build from Source wiki

上级 3c1518f5
......@@ -9,6 +9,7 @@ First off, thank you for taking the time to contribute! :+1: :tada:
* [Discuss](#Discuss)
* [Create a Ticket](#Create-a-Ticket)
* [Submit a Pull Request](#Submit-a-Pull-Request)
* [Build from Source](#Build-from-Source))
* [Source Code Style](#Source-Code-Style)
* [Reference Docs](#Reference-Docs)
......@@ -90,6 +91,12 @@ If asked to make corrections, simply push the changes against the same branch, a
pull request will be updated. In other words, you do not need to create a new pull request
when asked to make changes.
### Build from Source
See the [Build from Source](https://github.com/spring-projects/spring-framework/wiki/Build-from-Source)
wiki page for instructions on how to check out, build, and import the Spring Framework
source code into your IDE.
### Source Code Style
The wiki page
......
......@@ -31,40 +31,8 @@ You can find guides and tutorials on [https://spring.io](https://spring.io/guide
## Build from Source
The Spring Framework uses a [Gradle](http://gradle.org) build. In the instructions below,
the [Gradle Wrapper](http://vimeo.com/34436402) is invoked from the root of the source
tree and serves as a cross-platform, self-contained bootstrap mechanism for the build.
To build you will need [Git](http://help.github.com/set-up-git-redirect) and
[JDK 8 update 20 or later](http://www.oracle.com/technetwork/java/javase/downloads).
Be sure that your `JAVA_HOME` environment variable points to the `jdk1.8.0` folder
extracted from the JDK download.
Start by checking out the sources:
```
git clone git@github.com:spring-projects/spring-framework.git
```
To import into an IDE, ensure JDK 8 is configured. Then run `./import-into-eclipse.sh`
or read [import-into-idea.md](import-into-idea.md). For IntelliJ please do read the
instructions as a straight-up import will not work.
To compile, test, build all jars, distribution zips, and docs use:
```
./gradlew build
```
To install all spring-\* jars into your local Maven cache:
```
./gradlew install
```
Discover more commands:
```
./gradlew tasks
```
See also [CONTRIBUTING](CONTRIBUTING.md) and the
See the [Build from Source](https://github.com/spring-projects/spring-framework/wiki/Build-from-Source)
wiki page, also [CONTRIBUTING](CONTRIBUTING.md), and the
[Gradle build and release FAQ](https://github.com/spring-projects/spring-framework/wiki/Gradle-build-and-release-FAQ).
## Stay in Touch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册