5
votes

I have a project which is based on gradle .I have to run the command which is equivalent for mvn clean verify .As I am new to both gradle and maven ,and have been exposed to only 3 command of both .I want to run a gradle equivalent for mvn clean verify .I searched on websites but still have not got the answer .Can some please help me to know what will be the gradle equivalent for "mvn clean verify"

1
Not sure what "verify" does, but you might want to compare it to "check" which would yield something similar to "gradle clean check"; however, you should really spend some time learning about the tools you use rather than just blindly running commands. It will save you a lot of headache down the road.cjstehno

1 Answers

3
votes

gradle clean verify

or if you are using gradle wrapper:

./gradlew clean verify