How to reproduce: Run gradlew <task1> -x <task2>, e.g. gradlew build -x test Output (starting from gradle 7.6, fine until 7.5.x): The default project is not yet available for build.