Tuning gradle variant compatibility