add legacy task to all buildvariants