Skip to content

Commit

Permalink
Exclude wars from token replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Jun 14, 2016
1 parent 0cec41a commit 8e161b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jpos-app.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def jposCopySpec = copySpec {
exclude '**/*.gif'
exclude '**/*.png'
exclude '**/*.pdf'
exclude '**/*.war'
filter(
org.apache.tools.ant.filters.ReplaceTokens,
tokens: targetConfiguration
Expand All @@ -35,6 +36,7 @@ def jposCopySpec = copySpec {
include '**/*.gif'
include '**/*.png'
include '**/*.pdf'
include '**/*.war'
}
from(jar) {
rename archiveJarName, "${targetConfiguration.jarname}"
Expand Down

0 comments on commit 8e161b9

Please sign in to comment.