Add config for java plugin