When building “multi-module” projects with Jenkins CI, Jenkins, Nexus/Artifactory & Maven cooperate so that only the minimal set of modules is built. For large projects this is crucial, and makes the difference between fast several minute CI and slow several hours build.
I am seeking to reach the same build performance with gradle and multi-project.
(1) Is there a way to build only a subset of the sub-projects and their dependent sub-projects (similar to maven flags -pl and -am)
(2) Is there any jenkins integration so that indeed only these sub-projects will be invoked?
(3) If not - has anyone found a different way to replicate this behaviour based on a gradle plugin / task?