If for some reason you are doing some tests and your Gradle project builds over and over again and it takes a long time to build it, it could slow down your progress, one reason for your build taking a long time could be the test cases.
To disable unit test cases and do a Gradle build of your Java/Android Project you can add the option -x test to ignore them.
Examples:
% ./gradlew build -x test
% gradle build -x test

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!