I think I will make a custom plugin and solve this case by executing following tasks:
Generate the build in directory “A” 2. Retrieve current uploaded version, and put it on a directory “B” (ssh-plugin). I Will make some kind of intelligency to avoid downloading entire tree every time, by running first a command via SSH, retrieve last modification date of the entire tree, and add this information to a ‘upToDateWhen()’ on the task. 3. Compare directory A and B, and generate a directory C with files needed to be updated. This will be made by a custom plugin I think, as the ‘compare-gradle-builds’ plugin does not have this functionality, as far as I’ve read, as it generates an HTML output :S. 4. Upload files in directory C via ssh.