method

add_dependency

add_dependency(dependency)
public

Adds dependency from the lockfile to this specification