public interface GemResolverStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
addGemGroup(java.lang.String groupName)
Add a new group for GEMs.
|
void |
excludeConfigurations(org.gradle.api.artifacts.Configuration... configs)
Exclude a configuration from being resolved using the GEM
version resolver strategy.
|
void |
excludeConfigurations(java.lang.String... configs)
Exclude a configuration from being resolved using the GEM
version resolver strategy.
|
void |
excludeModule(java.util.regex.Pattern namePattern)
Exclude a module from being resolved using the GEM version resolver
strategy.
|
void |
excludeModule(java.util.regex.Pattern namePattern,
java.util.regex.Pattern versionPattern)
Exclude a module from being resolved using the GEM version resolver
strategy.
|
void |
excludeModule(java.lang.String name)
Exclude a module from being resolved using the GEM version resolver
strategy.
|
void |
excludeModule(java.lang.String name,
java.lang.String version)
Exclude a module from being resolved using the GEM version resolver
strategy.
|
boolean |
isGemGroup(java.lang.String groupName)
Is this group/organisation a GEM group ?
|
boolean |
useGemVersionResolver(org.gradle.api.artifacts.ModuleVersionSelector mvs)
Whether the GEM version resolving strategy should be applied for a specific module.
|
boolean |
useGemVersionResolver(java.lang.String configurationName)
Whether the GEM version resolving strategy should be applied to a specific configuration.
|
boolean isGemGroup(java.lang.String groupName)
groupName - Name of group/organisation.true is group is a GEM group.void addGemGroup(java.lang.String groupName)
groupName - Name of group to add.void excludeConfigurations(org.gradle.api.artifacts.Configuration... configs)
configs - Configurations to be excludedvoid excludeConfigurations(java.lang.String... configs)
configs - Configurations to be excludedvoid excludeModule(java.lang.String name,
java.lang.String version)
name - Module name. Never null.version - Version. Can be null.void excludeModule(java.lang.String name)
name - Module name. Never null.void excludeModule(java.util.regex.Pattern namePattern,
java.util.regex.Pattern versionPattern)
namePattern - Pattern for name. Never null.versionPattern - Pattern for version. Can be nullvoid excludeModule(java.util.regex.Pattern namePattern)
namePattern - Pattern for name. Never null.boolean useGemVersionResolver(org.gradle.api.artifacts.ModuleVersionSelector mvs)
In most cases this will always be true unless a specific rule excludes it.
mvs - Module version selectorboolean useGemVersionResolver(java.lang.String configurationName)
In most cases this will always be true unless a specific rule excludes it.
configurationName - Name fo configuration