Skip to content

Commit

Permalink
chore: fix distZip error
Browse files Browse the repository at this point in the history
TODO:
- properly use of jar.archiveFileName property.
- jar.archiveName will be  deprecated in future gradle version

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Apr 16, 2023
1 parent 681829d commit 2344bf0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 2344bf0

Please sign in to comment.