[![👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)
Resolves https://github.com/jfrog/artifactory-gradle-plugin/issues/47 Resolves https://github.com/jfrog/artifactory-gradle-plugin/issues/97
Option 1: Let the plugin decide which to repository to publish the artifacts to by allowing the provision of both snapshot and release repositories.
Option 2 (new):