You should use the -x
command line argument which excludes any task.
Try:
gradle build -x test
Update:
The link in Peter’s comment changed. Here is the diagram from the Gradle user’s guide
You should use the -x
command line argument which excludes any task.
Try:
gradle build -x test
Update:
The link in Peter’s comment changed. Here is the diagram from the Gradle user’s guide