What is the easiest way of setting up a gradle configuration so that I can run tests for only one or two submodules in a multimodule project?
The reason I don't need to test all of them is because they reside in their own repositories and get tested when those are changed. It really increases the turnaround-time to have TeamCity run a shitload of tests that I know will pass.
My initial thought was to set up a task in the top-level build.gradle that has dummy implementations in the modules that don't need to run the tests and performs connectedCheck for the android submodule and runs the tests for the java ones, but I havn't gotten that to work yet. I looked at the gradle documentation for multi-project builds (http://www.gradle.org/docs/current/userguide/multi_project_builds.html) but couldn't figure out how to call the clean and build commands from inside a Closure.
Help? :)