gradle skip tests code example Example 1: gradle build skip tests gradle build -x test Example 2: gradle build skip test command gradle build -x test