diff --git a/common/commands/configfile.go b/common/commands/configfile.go index b5f063df8..c7105993a 100644 --- a/common/commands/configfile.go +++ b/common/commands/configfile.go @@ -448,10 +448,14 @@ func getIncludeExcludePatterns(patternType string) string { } func (configFile *ConfigFile) configGradle() error { - if err := configFile.setResolver(false); err != nil { + if err := configFile.setDeployerResolver(); err != nil { return err } - return configFile.setDeployer(false) + if configFile.Deployer.ServerId != "" { + configFile.setMavenIvyDescriptors() + } + configFile.readGradleGlobalConfig() + return nil } func (configFile *ConfigFile) readGradleGlobalConfig() {