Good point, I totally forgot about the variants. I can fix it by doing something like `new File("${config.outputDir}/${variant.name}")` ?. Our CI server outputs the files to a different directory. I know we could write a task to copy them but it'd be quite handy if the plugin provides this option. 
I'll fix this and the spaces tomorrow or Monday.