This is something I actually cannot agree with...
We create a separate task for each variant. And task outputs should not overlap.

Could you provide more context: why do you need to specify the output directory?