Go to file
Sam Brannen 8f02e1088d Support alternate JDK versions in Gradle build
This commit adds support for the following two JVM system properties
that control the Gradle build for alternative JDKs (i.e., a JDK other
than the one used to launch the Gradle process).

- customJavaHome: absolute path to the alternate JDK installation to
  use to compile Java code and execute tests. Setting this system
  property causes Groovy 3.0 RC3 to be used instead of 2.5.x. This
  system property is also used in spring-oxm.gradle to determine
  whether JiBX is supported.

- customJavaSourceVersion: Java version supplied to the `--release`
  command line flag to control the Java source and target compatibility
  version. Supported versions include 9 or higher. Do not set this
  system property if Java 8 should be used.

Examples:

./gradlew -DcustomJavaHome=/opt/java/jdk-14 test

./gradlew --no-build-cache -DcustomJavaHome=/opt/java/jdk-14 test

./gradlew -DcustomJavaHome=/opt/java/jdk-14 -DcustomJavaSourceVersion=14 test

See gh-24474
2020-02-06 15:24:19 +01:00
.github Add "Affects" field to issue template 2019-01-18 15:27:43 -05:00
buildSrc Delete obsolete TestSourcesPlugin 2020-01-02 16:01:35 +01:00
framework-bom Remove scope information from published BOM 2019-09-18 15:27:59 +02:00
gradle Support alternate JDK versions in Gradle build 2020-02-06 15:24:19 +01:00
integration-tests Delete obsolete TestSourcesPlugin 2020-01-02 16:01:35 +01:00
spring-aop Polishing contribution 2020-02-03 20:32:36 +00:00
spring-aspects Use Gradle test fixture support for spring-tx 2020-01-02 16:01:35 +01:00
spring-beans Polishing 2020-02-06 12:59:55 +01:00
spring-context Polishing 2020-02-06 12:59:55 +01:00
spring-context-indexer Use Gradle test fixture support for spring-core 2020-01-02 16:01:34 +01:00
spring-context-support Simplify getCache() implementation in CaffeineCacheManager 2020-01-16 15:07:14 +01:00
spring-core Fix Checkstyle violation 2020-02-04 13:45:02 +01:00
spring-expression Thread-safe compiled expression evaluation in SpelExpression 2020-01-08 18:37:07 +01:00
spring-instrument URL Cleanup 2019-03-21 23:49:28 -05:00
spring-jcl Polishing 2020-01-28 21:56:35 +01:00
spring-jdbc Polish contribution 2020-02-04 14:48:13 +01:00
spring-jms Use Gradle test fixture support for spring-tx 2020-01-02 16:01:35 +01:00
spring-messaging Fix issue with new line handling in StompDecoder 2020-01-16 14:54:10 +00:00
spring-orm Use Gradle test fixture support for spring-web 2020-01-02 16:01:35 +01:00
spring-oxm Support alternate JDK versions in Gradle build 2020-02-06 15:24:19 +01:00
spring-test Remove unnecessary escapes in regular expressions 2020-02-03 20:22:40 +00:00
spring-tx Use Gradle test fixture support for spring-tx 2020-01-02 16:01:35 +01:00
spring-web Option to pair AnnotationIntrospector instances 2020-02-05 20:49:07 +00:00
spring-webflux Polishing contribution 2020-02-03 20:32:36 +00:00
spring-webmvc Insert StringMessageConverter for SSE 2020-02-05 20:49:07 +00:00
spring-websocket Polishing contribution 2020-02-03 20:32:36 +00:00
src Polish documentation format 2020-01-31 08:55:52 +01:00
.editorconfig Add EditorConfig 2017-06-12 08:07:54 +02:00
.gitattributes Ensure line endings for binary files are not modified in Git 2019-10-18 11:56:18 +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 Updates to CONTRIBUTING.md 2019-11-26 15:59:57 +00:00
LICENSE.txt Add LICENSE.txt file 2019-08-20 22:01:12 +02:00
README.md Fix grammar 2019-11-05 15:20:18 +01:00
SECURITY.md Create SECURITY.md 2019-05-23 11:36:52 -04:00
build.gradle Support alternate JDK versions in Gradle build 2020-02-06 15:24:19 +01:00
gradle.properties Next Development Version 2020-01-14 08:00:45 +00:00
gradlew Upgrade to Gradle 5.6 2019-08-17 19:20:36 +02:00
gradlew.bat Revert "Upgrade to Gradle 5.6.3" 2019-10-18 10:38:40 +02:00
import-into-eclipse.md Polishing regarding AJDT versions 2020-01-13 17:15:27 +01:00
import-into-idea.md URL Cleanup 2019-03-21 15:08:55 -05:00
settings.gradle Unpublish Gradle metadata 2019-12-02 16:43:02 +01:00

README.md

Spring Framework Build Status

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are 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.