diff --git a/build.gradle.kts b/build.gradle.kts index 88504a9d..2a285ba1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -122,17 +122,6 @@ tasks.getByName("jar") { enabled = false } -// unpack Spring Boot's fat jar for better Docker image layering -tasks.register("unpack") { - dependsOn(tasks.bootJar) - classpath = files(tasks.bootJar) - jvmArgs = listOf("-Djarmode=layertools") - args = "extract --destination ${layout.buildDirectory.get()}/dependency".split(" ") - doFirst { - delete("${layout.buildDirectory.get()}/dependency") - } -} - node { nodeProjectDir.set(file("${project.projectDir}/src/jelu-ui")) version.set("18.18.2") diff --git a/ci/prepare-dockerhub.sh b/ci/prepare-dockerhub.sh index d313ea8c..80dab96a 100755 --- a/ci/prepare-dockerhub.sh +++ b/ci/prepare-dockerhub.sh @@ -5,9 +5,6 @@ source "$(dirname "$0")/docker-common.sh" $1 $2 -# Unpack fat jar -./gradlew unpack - # Build docker images (no push) docker buildx build \ --platform $PLATFORMS \