Gradle build without tests
To build a Gradle project without running the tests, you can use the assemble task instead of the build task. The assemble task is responsible for assembling the output of a project, but it does not run the tests.
Here's an example of how you can use the assemble task to build a Gradle project without running the tests:
./gradlew assembleThis will build the project and create the output artifacts, but it will not run the tests.
Alternatively, you can also use the --exclude-task option to specify that the test task should be excluded from the build. Here's an example of how you can use this option:
./gradlew build --exclude-task testThis will build the project and run all tasks except for the test task.
I hope this helps! Let me know if you have any questions.