Make filter tokens part of Copy task's uptodate check


I have the following feature request:

Make the tokens that are passed in to the filter operation of the Copy task part of the uptodate check.

Currently, I have to use this workaround:

task myTask(type: Copy) {

filter(ReplaceTokens, tokens: [

moduleCode: project.ext.moduleCode,

moduleShortName: project.ext.moduleShortName])“moduleCode”, project.ext.moduleCode)“moduleShortName”, project.ext.moduleShortName)

Regards, Etienne

There’s already an issue for this GRADLE-1646.

Thanks, Luke. I just voted for it :wink: