how to skip test cases in gradle build code example Example 1: gradle build skip tests gradle build -x test Example 2: gradle build skip test command gradle build -x test