I have a two module build. A protocol module and a server module. Nothing very fancy. I wan’t code coverage (with emma currently) to be managed by our build server only (i think developers should use an ide plugin for coverage and I don’t want to clutter the build script).
Here is the problem: I use the emma plugin (applied from script) but that fails for the “container/parent” project, which has no source and hence no build/classes, and this trips an error in the emma plugin.
I see two possibilities: 1: fix the emma plugin to skip if build/classes are missing 2: have jenkins call: gradle build -x test (but only for container/parent) <- is that possible?