build: fix unpack task following Spring Boot 2.5 upgrade

This commit is contained in:
Gauthier Roebroeck 2021-06-29 17:18:27 +08:00
parent 101c6fd92d
commit 13856a5592

View file

@ -130,7 +130,7 @@ tasks {
// unpack Spring Boot's fat jar for better Docker image layering
register<JavaExec>("unpack") {
dependsOn(bootJar)
classpath = files(jar)
classpath = files(bootJar)
jvmArgs = listOf("-Djarmode=layertools")
args = "extract --destination $buildDir/dependency".split(" ")
doFirst {