patternjavaCritical
Gradle build without tests
Viewed 0 times
buildgradletestswithout
Problem
I want to execute
That doesn't seem to do anything. Is there some other command I could use?
gradle build without executing the unit tests. I tried:gradle -Dskip.tests build
That doesn't seem to do anything. Is there some other command I could use?
Solution
You should use the
Try:
Update:
The link in Peter's comment changed. Here is the diagram from the Gradle user's guide
-x command line argument which excludes any task.Try:
gradle build -x testUpdate:
The link in Peter's comment changed. Here is the diagram from the Gradle user's guide
Code Snippets
gradle build -x testContext
Stack Overflow Q#4597850, score: 1680
Revisions (0)
No revisions yet.