标签: gradle task build.gradle gradlew build-tools
我想拥有这个task allTests(dependsOn: ['runOnChrome', 'runOnFirefox']) {},并且在发生失败的任务之一的情况下,我想继续执行,就像我要运行./gradlew runOnChrome runOnFirefox --continue
task allTests(dependsOn: ['runOnChrome', 'runOnFirefox']) {}
./gradlew runOnChrome runOnFirefox --continue
如果我运行./gradlew allTests --continue,它将在任务之一失败时停止
./gradlew allTests --continue