Add support for publishing resolved versions of dependencies This commit adds support for using the resolved versions of dependencies when publishing with the `maven-publish` plugin. There are currently only 2 formats supported:
1. POM files, in which case the declared version is replaced with the resolved version in the <dependency> block 2. Gradle metadata, in which case we add an additional property to the `json` file, the `resolved` property. This property is NOT used when resolving, yet.