Skip to content

Commit

Permalink
Fix weird solution for archiveName after upgrade gradle-8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens-tolboom committed Dec 12, 2023
1 parent ca78ea9 commit 5f73101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ docker {
name imageName
tags 'latest', tagName
dockerfile file('Dockerfile')
files bootJar.archivePath
buildArgs(['JAR_FILE': "${bootJar.archiveName}"])
files bootJar.archiveFile
buildArgs(['JAR_FILE': "${bootJar.archiveFile.get().asFile.name}"])
}
dockerPrepare.dependsOn bootJar

Expand Down

0 comments on commit 5f73101

Please sign in to comment.