Add java plugin to subprojects