optimize gradle
only send values if no compare value is set