Removing the redundant java plugin apply from build