Class NexusIqPluginIndexExtension

java.lang.Object
org.sonatype.gradle.plugins.scan.nexus.iq.index.NexusIqPluginIndexExtension

public class NexusIqPluginIndexExtension extends Object
Extension for configuring the nexusIQIndex task.
  • 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

      public Set<String> getModulesExcluded()
      Returns the set of excluded module names.
    • setModulesExcluded

      public void setModulesExcluded(Set<String> modulesExcluded)
      Sets the modules to exclude.
    • getVariantAttributes

      public Map<String,String> getVariantAttributes()
      Returns the variant attributes for dependency resolution.
    • setVariantAttributes

      public void setVariantAttributes(Map<String,String> variantAttributes)
      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.