Go to file
Andy Wilkinson b730597c87 Disable caching of changing modules and dynamic versions
Previously, changing modules (snapshots) and dynamic versions were
cached for Gradle's default period of 24 hours and
--refresh-dependencies was used to pick up the latest artifacts. This
approach has a notable downside. --refresh-dependencies causes all
dependencies to be refreshed, irrespective of whether they are
expected to change. At a minimum, this results in a HEAD request for
every dependency in the build. Running an up-to-date build without
--refresh-dependencies takes in the region of 6 seconds:

$ ./gradlew build

BUILD SUCCESSFUL in 6s
203 actionable tasks: 203 up-to-date

The same build with --refresh-dependencies takes almost ten times as
long:

$ ./gradlew build --refresh-dependencies

BUILD SUCCESSFUL in 58s
203 actionable tasks: 203 up-to-date

This commit replaces the manual usage of --refresh-dependencies on
the command line with a 0 second caching period for changing modules
and dynamic versions. This should remove the need to use
--refresh-dependencies both locally and on CI, saving almost 1 minute
per full build.
2019-09-11 10:00:01 +02:00
.github Add "Affects" field to issue template 2019-01-18 15:27:43 -05:00
buildSrc Use JApiCmp Gradle plugin for API diffs 2019-08-19 10:21:55 +02:00
framework-bom Change Gradle publication name for artifactory 2019-08-21 18:42:17 +02:00
gradle Tweak detection of Bamboo 2019-09-06 19:18:46 +02:00
integration-tests Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-aop Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-aspects Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-beans Polish and revive disabled tests 2019-09-06 15:57:27 +02:00
spring-context Polish and revive disabled tests 2019-09-06 15:57:27 +02:00
spring-context-indexer Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-context-support Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-core Convert XmlValidationModeDetectorTests to JUnit Jupiter and AssertJ 2019-09-09 16:29:00 +02:00
spring-expression Make SpEL rootObject parameter nullable 2019-08-29 11:02:31 +02:00
spring-instrument URL Cleanup 2019-03-21 23:49:28 -05:00
spring-jcl Use dependency management in Framework build 2019-09-02 18:01:09 +02:00
spring-jdbc Fix typos related to indefinite articles for SQL acronym 2019-09-07 16:04:47 +02:00
spring-jms Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-messaging Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-orm Polish and revive disabled tests 2019-09-06 15:57:27 +02:00
spring-oxm Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-test Rename fromObject to fromValue in BodyInserters 2019-09-09 00:08:55 +02:00
spring-tx Fix typos related to indefinite articles for SQL acronym 2019-09-07 16:04:47 +02:00
spring-web Avoid accidental usage of JUnit 4 assumptions 2019-09-06 16:03:36 +02:00
spring-webflux Rename fromObject to fromValue in BodyInserters 2019-09-09 00:08:55 +02:00
spring-webmvc Add blank line between java and javax imports 2019-09-04 22:05:46 -07:00
spring-websocket Fix checkstyle violation 2019-09-05 09:18:43 +02:00
src Remove obsolete Checkstyle suppression entries 2019-09-05 15:54:55 +02:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitignore Rename non-Framework project modules 2019-08-21 14:32:25 +02:00
.mailmap Change gopivotal.com to pivotal.io 2014-10-05 18:12:50 +02:00
CODE_OF_CONDUCT.adoc URL Cleanup 2019-03-21 15:08:55 -05:00
CONTRIBUTING.md Add "Participate in Reviews" section 2019-08-26 17:45:01 +02:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Wikipedia -> Wiki 2019-03-23 13:44:59 +01:00
SECURITY.md Create SECURITY.md 2019-05-23 11:36:52 -04:00
build.gradle Disable caching of changing modules and dynamic versions 2019-09-11 10:00:01 +02:00
gradle.properties Add opt-in build scan integration with Gradle Enterprise 2019-09-05 15:16:59 +01:00
gradlew Upgrade to Gradle 5.6 2019-08-17 19:20:36 +02:00
gradlew.bat Upgrade to Gradle 5.6 2019-08-17 19:20:36 +02:00
import-into-eclipse.md URL Cleanup 2019-03-21 15:08:55 -05:00
import-into-idea.md URL Cleanup 2019-03-21 15:08:55 -05:00
settings.gradle Publish Gradle metadata 2019-09-03 16:17:06 +02:00

README.md

Spring Framework

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects is often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section as reference for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), Github wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Build from Source

See the Build from Source Wiki page and the CONTRIBUTING.md file.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.