Search in sources :

Example 1 with HasLatestStrategy

use of org.apache.ivy.plugins.resolver.util.HasLatestStrategy in project ant-ivy by apache.

the class ChainResolver method setLatest.

private static void setLatest(DependencyResolver resolver, LatestStrategy latest) {
    if (resolver instanceof HasLatestStrategy) {
        HasLatestStrategy r = (HasLatestStrategy) resolver;
        r.setLatestStrategy(latest);
    }
}
Also used : HasLatestStrategy(org.apache.ivy.plugins.resolver.util.HasLatestStrategy)

Aggregations

HasLatestStrategy (org.apache.ivy.plugins.resolver.util.HasLatestStrategy)1