ASM-2737: Fix gradle task syntax