Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 gradle 插件在 netbeans 中运行构建命令时,所有测试都会运行,如果其中任何一个失败,则构建会失败。我怎样才能改变这种行为?
如果构建操作绑定到build任务,那么这是预期的行为。您可以修改您的项目以执行类似assemble或jar在调用构建操作时执行的操作。build取决于test其他人没有,他们仍然构建了足够的内容供您执行应用程序。
build
assemble
jar
test