Created
December 15, 2013 04:08
-
-
Save lifuzu/7968751 to your computer and use it in GitHub Desktop.
A copy task mapping source directory structure onto a new destination structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//A copy task mapping source directory structure onto a new destination structure | |
task complexCopy(type: Copy) { | |
from('src/main/templates') { | |
include '**/*.gtpl' | |
into 'templates' | |
} | |
from('i18n') | |
from('config') { | |
exclude 'Development*.groovy' | |
into 'config' | |
} | |
into 'build/resources' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment