ASM-2731: Fix gradle task syntax