resolve local and remote dependencies