Skip to content

Commit

Permalink
fix: try to fix packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
bayang committed Apr 20, 2024
1 parent 0f021ec commit 920dcc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,6 @@ tasks.getByName<Jar>("jar") {
enabled = false
}

// unpack Spring Boot's fat jar for better Docker image layering
tasks.register<JavaExec>("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")
Expand Down
3 changes: 0 additions & 3 deletions ci/prepare-dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 920dcc7

Please sign in to comment.