Class ExclusionDelegate

java.lang.Object
org.savantbuild.parser.groovy.ExclusionDelegate

public class ExclusionDelegate extends Object
Groovy delegate that defines the exclusions for a single dependency.
  • Constructor Details

    • ExclusionDelegate

      public ExclusionDelegate()
  • Method Details

    • exclusion

      public org.savantbuild.dep.domain.ArtifactID exclusion(Map<String,Object> attributes)
      Defines am exclusion. This takes a Map of attributes but only the id attributes is required. This attribute defines the exclusion using the shorthand notation.
      Parameters:
      attributes - The attributes.
      Returns:
      Nothing
      See Also:
      • Artifact(String)
    • getExclusions

      public List<org.savantbuild.dep.domain.ArtifactID> getExclusions()