Comment file copying vs file filtering during packaging.

This commit is contained in:
Chris Rankin 2017-02-22 08:45:35 +00:00
parent 2f82b58c9e
commit 1a78ca240a

View File

@ -141,6 +141,9 @@ task javapackage(dependsOn: 'distZip') {
}
copy {
/*
* Copy non-text formats "as-is".
*/
from("$projectDir/package") {
exclude '**/*.spec'
exclude '**/*.sh'
@ -151,6 +154,9 @@ task javapackage(dependsOn: 'distZip') {
}
copy {
/*
* Expand tokens for text formats.
*/
from("$projectDir/package") {
include '**/*.spec'
include '**/*.sh'