From 2344bf0ec9bb0802c831b60b54607e834f536f69 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Sun, 16 Apr 2023 11:31:21 +0900 Subject: [PATCH] chore: fix distZip error TODO: - properly use of jar.archiveFileName property. - jar.archiveName will be deprecated in future gradle version Signed-off-by: Hiroshi Miura --- build.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 66244deded..e0da4f73fc 100644 --- a/build.gradle +++ b/build.gradle @@ -366,14 +366,12 @@ distributions { into 'plugins' } from('release/linux-specific') { - filter(ReplaceTokens, tokens: - [VERSION_NUMBER_SUBST: project.version, - JAR_SUBST: jar.archiveFileName]) + filter(ReplaceTokens, tokens: [VERSION_NUMBER_SUBST: project.version, JAR_SUBST: jar.archiveName]) fileMode 0755 } from('release/win32-specific') { include 'OmegaT.bat' - filter(ReplaceTokens, tokens: [JAR_SUBST: jar.archiveFileName]) + filter(ReplaceTokens, tokens: [JAR_SUBST: jar.archiveName]) } from('lib/licenses') { into 'lib'