You may have run into an issue where your Gradle builds were not resolving from the expected repositories. Upon further investigation, you may find that there were only requests to one repository. This is the result of this change in the Jenkins Artifactory Plugin version 4.0.1. It causes the settings sent by the plugin (i.e. configured in the Jenkinsfile) to take precedence over the project settings. This means that repository configurations in the build.gradle will not be utilized.
In this article, we will show you how to work around this and resolve artifacts based on the build.gradle again.