Class DependencyTools

java.lang.Object
org.savantbuild.dep.DependencyTools

public final class DependencyTools extends Object
Helpers for dependency objects.
  • Constructor Details

    • DependencyTools

      public DependencyTools()
  • Method Details

    • matchesExclusion

      public static boolean matchesExclusion(ArtifactID artifact, ArtifactID exclusion)
      Determines if the given artifact ID matches the given exclusion, taking into consideration wildcards in the exclusion.
      Parameters:
      artifact - The artifact ID.
      exclusion - The exclusion.
      Returns:
      True if it matches, false if not.