Adds metadata to be passed to build hook invocations of dependent packages.
void addMetadata(Map<String, Object> metadata);