Type: New Feature
Affects Version/s: 4.13.0, 4.13.2
Fix Version/s: None
Gradle introduced with version 3.x a new resolution spec: Not using the buildScript but instead using the pluginRepositories in the settings.gradle. For example:
Here you can find more information regarding the new spec: https://docs.gradle.org/3.1/userguide/plugins.html#sec:subprojects_plugins_dsl
This convention find the artifacts with id. The request that Artifactory tried to resolve is using the following path in the URL:
This is the ID and not the actual resolution of the artifact.
For example, resolving Artifactory plugin for Gradle, uses the following URL:
instead of downloading the build info and its dependencies as it was when using the buildScript:
This seems to occur since in the new convention there is only the id:
id 'com.jfrog.artifactory' version '4.4.7'
When you use the official Gradle download site:
This works and the artifacts are being downloaded:
Update Jul 2019: still a problem in later versions of Gradle. I used 5.5.1, with the following updated settings.gradle content:
and Artifactory still tries to resolve via: