You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Maven spring-boot:build-image goal and Gradle bootBuildImage task attempt to detect the target Java version for the build and set an environment variable on the CNB builder to instruct buildpacks to install the same Java version. This should be documented in the build plugin documentation.
The Maven plugin first looks for configuration of the maven-compiler-plugin with a target version:
The Maven
spring-boot:build-image
goal and GradlebootBuildImage
task attempt to detect the target Java version for the build and set an environment variable on the CNB builder to instruct buildpacks to install the same Java version. This should be documented in the build plugin documentation.The Maven plugin first looks for configuration of the
maven-compiler-plugin
with atarget
version:If that is not found, it looks for a compiler target property:
The Gradle plugin uses a Gradle API, which exposes the value of the
targetCompatibility
property of the Java plugin.The text was updated successfully, but these errors were encountered: