Skip to content

Commit

Permalink
fix intelliJ IDEA gradle sync error (#916) (#917)
Browse files Browse the repository at this point in the history
(cherry picked from commit 136fa87)

Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 454cb91 commit e46964a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-tools/pkgbuild.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ afterEvaluate {
tasks.register("renameRpm", Copy) {
from("$buildDir/distributions")
into("$buildDir/distributions")
include archiveFileName
rename archiveFileName, "${packageName}-${version}.rpm"
include archiveFileName.get()
rename archiveFileName.get(), "${packageName}-${version}.rpm"
doLast { delete file("$buildDir/distributions/$archiveFileName") }
}
}
Expand All @@ -56,8 +56,8 @@ afterEvaluate {
tasks.register("renameDeb", Copy) {
from("$buildDir/distributions")
into("$buildDir/distributions")
include archiveFileName
rename archiveFileName, "${packageName}-${version}.deb"
include archiveFileName.get()
rename archiveFileName.get(), "${packageName}-${version}.deb"
doLast { delete file("$buildDir/distributions/$archiveFileName") }
}
}
Expand Down

0 comments on commit e46964a

Please sign in to comment.