Skip to content

Commit

Permalink
build: Fix issue where version information isn't removed on release
Browse files Browse the repository at this point in the history
  • Loading branch information
leviem1 committed Aug 22, 2023
1 parent f90ec0d commit 071d9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ tasks.register('release') {
if (!version.endsWith("-SNAPSHOT")) {
// Rename final JAR to trim off version information
shadowJar.archiveFile.get().getAsFile()
.renameTo(layout.buildDirectory.toString() + File.separator + 'libs' + File.separator
.renameTo(layout.buildDirectory.get().toString() + File.separator + 'libs' + File.separator
+ rootProject.name + '.jar')
}
}
Expand Down

0 comments on commit 071d9d7

Please sign in to comment.