Interface DependencyConstraint

All Superinterfaces:
Dependency

@Incubating public interface DependencyConstraint extends Dependency
Represents a constraints over all, including transitive, dependencies.
Since:
4.5
  • Method Details

    • version

      void version(Action<? super MutableVersionConstraint> configureAction)
      Configures the version constraint for this dependency.
      Parameters:
      configureAction - the configuration action for the module version
    • getVersionConstraint

      VersionConstraint getVersionConstraint()
      Returns the version constraint.