public interface GemResolverStrategy
Defines groups which contains GEMs and controls GEM resolving rules.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
addGemGroup(String groupName)Add a new group for GEMs. |
|
public void |
excludeConfigurations(Configuration configs)Exclude a configuration from being resolved using the GEM version resolver strategy. |
|
public void |
excludeConfigurations(String configs)Exclude a configuration from being resolved using the GEM version resolver strategy. |
|
public void |
excludeModule(String name, String version)Exclude a module from being resolved using the GEM version resolver strategy. |
|
public void |
excludeModule(String name)Exclude a module from being resolved using the GEM version resolver strategy. |
|
public void |
excludeModule(java.util.regex.Pattern namePattern, java.util.regex.Pattern versionPattern)Exclude a module from being resolved using the GEM version resolver strategy. |
|
public void |
excludeModule(java.util.regex.Pattern namePattern)Exclude a module from being resolved using the GEM version resolver strategy. |
|
public boolean |
isGemGroup(String groupName)Is this group/organisation a GEM group ? |
|
public boolean |
useGemVersionResolver(ModuleVersionSelector mvs)Whether the GEM version resolving strategy should be applied for a specific module. |
|
public boolean |
useGemVersionResolver(String configurationName)Whether the GEM version resolving strategy should be applied to a specific configuration. |
Add a new group for GEMs.
groupName - Name of group to add.Exclude a configuration from being resolved using the GEM version resolver strategy.
configs - Configurations to be excludedExclude a configuration from being resolved using the GEM version resolver strategy.
configs - Configurations to be excludedExclude a module from being resolved using the GEM version resolver strategy.
name - Module name. Never null.version - Version. Can be null.Exclude a module from being resolved using the GEM version resolver strategy.
name - Module name. Never null.Exclude a module from being resolved using the GEM version resolver strategy.
namePattern - Pattern for name. Never null.versionPattern - Pattern for version. Can be nullExclude a module from being resolved using the GEM version resolver strategy.
namePattern - Pattern for name. Never null.Is this group/organisation a GEM group ?
groupName - Name of group/organisation.true is group is a GEM group.Whether the GEM version resolving strategy should be applied for a specific module.
In most cases this will always be true unless a specific rule excludes it.
mvs - Module version selectorWhether the GEM version resolving strategy should be applied to a specific configuration.
In most cases this will always be true unless a specific rule excludes it.
configurationName - Name fo configuration