Hardcode platform provided dependencies instead of resolving them

Implements #259.
I edited my comment: there is a way to just get the path for an artifact from the local repo: `getArtifactPath`. But we cannot use that if the dep was downloaded from a remote repo i think.
We definitely cannot use that if the dep has been deleted from the cache and needs to be redownloaded (for some reason at this point).

We should use `resolve` to cover all cases.