adds javadoc configuration to build