spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 7625a979db Configure bootRun to use project's Java toolchain by default
Previously, unlike the application plugin's run task, our bootRun task
ignored the project's Java toolchain. This meant that the application
was run on a JVM with the same Java version as the one being used by
Gradle itself. This could result in a failure if the application
required a more modern JVM.

This commit updates the plugin to configure the bootRun task's
JavaLauncher convention to be one derived from the project's Java
toolchain. Toolchain support was introduced in Gradle 6.7 so this is
only done when using Gradle 6.7 and later.

Fixes gh-24517
2021-01-11 11:21:53 +00:00
..
spring-boot-antlib Merge branch '2.2.x' into 2.3.x 2020-12-04 18:21:57 -08:00
spring-boot-autoconfigure-processor Update copyright year of changed files 2020-05-13 16:48:51 -07:00
spring-boot-buildpack-platform Provide content-length header to Docker API calls 2020-10-28 15:15:32 -05:00
spring-boot-configuration-metadata Require dependency on s-b-dependencies to use its constraints 2020-06-16 08:50:21 +01:00
spring-boot-configuration-processor Merge branch '2.2.x' into 2.3.x 2020-11-05 16:32:52 +01:00
spring-boot-gradle-plugin Configure bootRun to use project's Java toolchain by default 2021-01-11 11:21:53 +00:00
spring-boot-jarmode-layertools Close writer after use in ExtractCommandTests 2020-08-19 10:25:37 -07:00
spring-boot-loader Fix classpath index so entries match those expected by the launcher 2021-01-08 15:32:19 +00:00
spring-boot-loader-tools Fix classpath index so entries match those expected by the launcher 2021-01-08 15:32:19 +00:00
spring-boot-maven-plugin Remove layout parameters from build-image Maven goal 2021-01-07 15:59:02 -06:00
spring-boot-test-support Upgrade to Testcontainers 1.15.0 2020-11-10 16:24:16 +01:00