Class NexusIqPluginIndexExtension
java.lang.Object
org.sonatype.gradle.plugins.scan.nexus.iq.index.NexusIqPluginIndexExtension
Extension for configuring the nexusIQIndex task.
-
Constructor Summary
ConstructorsConstructorDescriptionNexusIqPluginIndexExtension(org.gradle.api.Project project) Constructs an extension for the given project. -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of excluded module names.Returns the variant attributes for dependency resolution.booleanReturns whether all configurations should be included.booleanReturns whether compile-only dependencies should be excluded.voidsetAllConfigurations(boolean allConfigurations) Sets whether all configurations should be included.voidsetExcludeCompileOnly(boolean excludeCompileOnly) Sets whether compile-only dependencies should be excluded.voidsetModulesExcluded(Set<String> modulesExcluded) Sets the modules to exclude.voidsetVariantAttributes(Map<String, String> variantAttributes) Sets the variant attributes for dependency resolution.
-
Constructor Details
-
NexusIqPluginIndexExtension
public NexusIqPluginIndexExtension(org.gradle.api.Project project) Constructs an extension for the given project.
-
-
Method Details
-
isAllConfigurations
public boolean isAllConfigurations()Returns whether all configurations should be included. -
setAllConfigurations
public void setAllConfigurations(boolean allConfigurations) Sets whether all configurations should be included. -
getModulesExcluded
Returns the set of excluded module names. -
setModulesExcluded
Sets the modules to exclude. -
getVariantAttributes
Returns the variant attributes for dependency resolution. -
setVariantAttributes
Sets the variant attributes for dependency resolution. -
isExcludeCompileOnly
public boolean isExcludeCompileOnly()Returns whether compile-only dependencies should be excluded. -
setExcludeCompileOnly
public void setExcludeCompileOnly(boolean excludeCompileOnly) Sets whether compile-only dependencies should be excluded.
-