Gradle equivalent of 'mvn clean package'

In The Pull Request tips article (Pull Request Tips - Documentation - OpenMRS Wiki), it is mentioned:

Tests passing? Run “mvn clean package” before committing. Running this maven command not only ensures that all tests are passing, but also formats all your changes according to our conventions.

But as I work in Android Studio with gradle, can you suggest the command I must run before commiting?

Thanks.

@vansha10 may be you can try out mvn clean install

check out this https://www.vogella.com/tutorials/AndroidBuildMaven/article.html