Created
September 28, 2017 08:20
-
-
Save Opalo/c2c39deba32442b1349da92876f1f816 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
processResources { | |
def profile = project.properties['profile'] | |
def replace_tokens = profile ? filter_tokens[profile] : filter_tokens['default'] | |
exclude '**/log4j-test.xml' | |
from('src/main/resources') { | |
exclude '**/*.ttf' | |
filter(ReplaceTokens, tokens: replace_tokens) | |
} | |
from('src/main/resources') { | |
include '**/*.ttf' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment