Gradle build without tests

后端 未结 13 1550
后悔当初
后悔当初 2020-12-12 08:41

I want to execute gradle build without executing the unit tests. I tried:

$ gradle -Dskip.tests build

That doesn\'t seem to

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 09:22

    gradle build -x test --parallel
    

    If your machine has multiple cores. However, it is not recommended to use parallel clean.

提交回复
热议问题