Make filter tokens part of Copy task's uptodate check


(Etienne Studer) #1

Hi

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])

inputs.property(“moduleCode”, project.ext.moduleCode)

inputs.property(“moduleShortName”, project.ext.moduleShortName)

Regards, Etienne


(Luke Daley) #2

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


(Etienne Studer) #3

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