/** @return The release repository configured in Artifactory publisher. */
 private String getDefaultStagingRepository() {
   ArtifactoryGradleConfigurator publisher = getWrapper();
   if (publisher == null) {
     return null;
   }
   return publisher.getRepositoryKey();
 }
 @Override
 public ArtifactoryServer getArtifactoryServer() {
   ArtifactoryGradleConfigurator configurator = getWrapper();
   if (configurator != null) {
     return configurator.getArtifactoryServer();
   }
   return null;
 }