We know, the Gradle equivalent of mvn clean install
is gradle install
...
but what if I needed to install skipping all tests? In maven we would call:
mvn clean -Dmaven.test.skip=true install
What should we call in Gradle for that?
We know, the Gradle equivalent of mvn clean install
is gradle install
...
but what if I needed to install skipping all tests? In maven we would call:
mvn clean -Dmaven.test.skip=true install
What should we call in Gradle for that?
./gradlew install -x test
Using -x test
skips both: test execution and test code compilation.