• Scott Frederick's avatar
    Fail on bootBuildImage with launch script · 21028226
    Scott Frederick authored
    This commit adds a check to the support code for the Gradle plugin
    bootBuildImage task to ensure that the jar file that will be passed
    to a builder is readable and has a valid directory. This prevents a
    situation where the jar file cannot be read because it is prepended
    with a launch script, and the builder does not receive any files to
    process.
    
    Notes have also been added to the Gradle plugin documentation to warn
    against using a bootJar launchScript configuration and bootBuildImage
    together, as well as caveats about launchScript that match the Maven
    plugin documentation.
    
    Fixes gh-22223
    21028226
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...