Apply java gradle settings to subprojects at one place
Fix invalid cobertura problem in plugin projects

* only apply cobertura to exported libs